Merge pull request #15 from Sku-111/main

preventing tact error E_REPAIR (28)
This commit is contained in:
ZEROPOINT 2023-11-14 01:29:59 -07:00 committed by GitHub
commit cd889018d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,9 @@ BOOL WINAPI DllMain(HMODULE hModule, DWORD Reason, LPVOID lpVoid)
printf("Base Address: %p\n", 0_b); printf("Base Address: %p\n", 0_b);
// prevents tact error E_REPAIR (28) from happening
remove("Data/data/CASCRepair.mrk");
debug_output_init(nullptr); debug_output_init(nullptr);
addCustomCmds(); addCustomCmds();
patchGame(); patchGame();