From 434d851e82f79925bdba9eafdc12bf342c25eaa6 Mon Sep 17 00:00:00 2001 From: Belonit <54427022+Belonit@users.noreply.github.com> Date: Tue, 19 Dec 2023 00:00:03 +0300 Subject: [PATCH] Update SavedGamesInSubdir.cpp --- src/Misc/SavedGamesInSubdir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Misc/SavedGamesInSubdir.cpp b/src/Misc/SavedGamesInSubdir.cpp index 0bbeba31..8652d990 100644 --- a/src/Misc/SavedGamesInSubdir.cpp +++ b/src/Misc/SavedGamesInSubdir.cpp @@ -132,7 +132,7 @@ DEFINE_HOOK(0x559C98, LoadOptionsClass_HasSaves_SGInSubdir, 0xB) R->EAX(pFileName); R->EDX(pFindFileData); - return 0x559CA3; // this is 0x559C98 + 0xB + return 0x559C98 + 0xB; } // Fill a list of files @@ -150,7 +150,7 @@ DEFINE_HOOK(0x559886, LoadOptionsClass_FillList_SGInSubdir, 0x8) HANDLE result = FindFirstFileA(pFileName, pFind); R->EAX(result); - return 0x55988E; // this is 0x559886 + 0x8 + return 0x559886 + 0x8; } DEFINE_HOOK(0x67FD26, LoadOptionsClass_ReadSaveInfo_SGInSubdir, 0x5)