Reverted part of the optimization for the save/load game screens

(commit 81912b47, as it could cause the cursor to become unresponsive.)

Updated version number.
This commit is contained in:
NovaRain
2025-03-31 21:53:57 +08:00
parent 194a736a06
commit 1a69eaf39a
2 changed files with 4 additions and 8 deletions
+2 -6
View File
@@ -882,15 +882,11 @@ static void EngineOptimizationPatches() {
SafeWrite8(0x4D6310, 0x90);
BlockCall(0x4D6319);
// Reduce excessive delays in the save/load game screens
SafeWriteBatch<BYTE>(16, { // 41 to 16 ms
// Reduce delays in the save/load game screens
SafeWriteBatch<BYTE>(33, { // 41 to 33 ms
0x47D00D, // LoadGame_
0x47C1FD // SaveGame_
});
// LoadGame_
SafeWrite8(0x47CF0D, 195 + 10); // jz 0x47CFDE
// SaveGame_
SafeWrite8(0x47C135, 140 + 10); // jz 0x47C1CF
}
void MiscPatches::SetIdle(int value) {
+2 -2
View File
@@ -25,6 +25,6 @@
#define VERSION_MAJOR 4
#define VERSION_MINOR 4
#define VERSION_BUILD 6
#define VERSION_REV 0
#define VERSION_REV 1
#define VERSION_STRING "4.4.6"
#define VERSION_STRING "4.4.6.1"