From 66026afb7f488a062cbffe57d0a62a078f14caa7 Mon Sep 17 00:00:00 2001 From: nzgamer41 Date: Sun, 27 Jun 2021 21:41:39 +1200 Subject: [PATCH] whoops i hate git --- OpenParrot/src/Utility/GameDetect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenParrot/src/Utility/GameDetect.cpp b/OpenParrot/src/Utility/GameDetect.cpp index 4f6e983..cc6413f 100644 --- a/OpenParrot/src/Utility/GameDetect.cpp +++ b/OpenParrot/src/Utility/GameDetect.cpp @@ -666,6 +666,7 @@ void GameDetect::DetectCurrentGame() #else memset(errorBuffer, 0, 256); sprintf_s(errorBuffer, 256, "Unsupported Executable, NEW CRC: %08X!", newCrcResult); + WritePrivateProfileStringA("Error", "Unsupported Executable", errorBuffer, ".\\teknoparrot.ini"); MessageBoxA(0, errorBuffer, "Error", MB_ICONERROR); ExitProcess(0); #endif