1
0
mirror of synced 2025-02-12 16:54:34 +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, "---------------------------------"); 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;