Reverted commit 1a69eaf

(found another way to fix freezing issues in Win11 24H2.)
This commit is contained in:
NovaRain
2025-04-03 01:20:32 +08:00
parent d112a6ec09
commit 3476a27a54
+5 -1
View File
@@ -883,10 +883,14 @@ static void EngineOptimizationPatches() {
BlockCall(0x4D6319);
// Reduce delays in the save/load game screens
SafeWriteBatch<BYTE>(33, { // 41 to 33 ms
SafeWriteBatch<BYTE>(25, { // 41 to 25 ms
0x47D00D, // LoadGame_
0x47C1FD // SaveGame_
});
// LoadGame_
SafeWrite8(0x47CF0D, 195 + 10); // jz 0x47CFDE
// SaveGame_
SafeWrite8(0x47C135, 140 + 10); // jz 0x47C1CF
}
void MiscPatches::SetIdle(int value) {