Removed unused code in LoadGame().

Revert the change of OverrideArtCacheSize.
This commit is contained in:
NovaRain
2017-02-21 14:37:18 +08:00
parent f56af79c16
commit 42f70f920e
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -211,12 +211,7 @@ static void __declspec(naked) LoadGame() {
push edx;
or InLoop, LOADGAME;
call LoadGame_;
/*push eax;
push 0x0000101f;
push 0x0045E949;
call SafeWrite32;*/
and InLoop, (-1^LOADGAME);
//pop eax;
cmp eax, 1;
jne end;
call LoadGame2_After;
+1 -1
View File
@@ -1237,7 +1237,7 @@ static void DllMain2() {
if (GetPrivateProfileIntA("Misc", "OverrideArtCacheSize", 0, ini)) {
dlog("Applying override art cache size patch.", DL_INIT);
SafeWrite8(0x41886A, 0x0);
SafeWrite32(0x418867, 0x90909090);
SafeWrite32(0x418872, 256);
dlogr(" Done", DL_INIT);
}