NEW CRC will be added to teknoparrot.ini if running unsupported executable
This commit is contained in:
parent
c2d6f1146d
commit
9a32c3d74f
@ -658,8 +658,9 @@ void GameDetect::DetectCurrentGame()
|
|||||||
info(true, "---------------------------------");
|
info(true, "---------------------------------");
|
||||||
#else
|
#else
|
||||||
memset(errorBuffer, 0, 256);
|
memset(errorBuffer, 0, 256);
|
||||||
sprintf_s(errorBuffer, 256, "Unsupported Executable, NEW CRC: %08X!", newCrcResult);
|
sprintf_s(errorBuffer, 256, "NEW CRC: %08X", newCrcResult);
|
||||||
MessageBoxA(0, errorBuffer, "Error", MB_ICONERROR);
|
WritePrivateProfileStringA("Error", "Unsupported Executable", errorBuffer, ".\\teknoparrot.ini");
|
||||||
|
MessageBoxA(0, errorBuffer, "Unsupported Executable", MB_ICONERROR);
|
||||||
ExitProcess(0);
|
ExitProcess(0);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user