1
0
mirror of synced 2025-02-01 04:15:50 +01:00

NEW CRC will be added to teknoparrot.ini if running unsupported executable

This commit is contained in:
Aaron M 2021-06-27 12:42:02 +12:00 committed by nzgamer41
parent c2d6f1146d
commit 9a32c3d74f

View File

@ -658,8 +658,9 @@ void GameDetect::DetectCurrentGame()
info(true, "---------------------------------");
#else
memset(errorBuffer, 0, 256);
sprintf_s(errorBuffer, 256, "Unsupported Executable, NEW CRC: %08X!", newCrcResult);
MessageBoxA(0, errorBuffer, "Error", MB_ICONERROR);
sprintf_s(errorBuffer, 256, "NEW CRC: %08X", newCrcResult);
WritePrivateProfileStringA("Error", "Unsupported Executable", errorBuffer, ".\\teknoparrot.ini");
MessageBoxA(0, errorBuffer, "Unsupported Executable", MB_ICONERROR);
ExitProcess(0);
#endif
break;