mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Removed unused code in LoadGame().
Revert the change of OverrideArtCacheSize.
This commit is contained in:
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user