This commit is contained in:
CrazyBloo 2024-08-24 08:52:03 -04:00
parent 50a359d0eb
commit 82669bf51c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valu
reinterpret_cast<void*>(g_eboot_address + (std::stoi(offsetStr, 0, 16) - 0x400000)); reinterpret_cast<void*>(g_eboot_address + (std::stoi(offsetStr, 0, 16) - 0x400000));
} }
} }
if (patchMask == PatchMask::Mask) { if (patchMask == PatchMask::Mask) {
cheatAddress = reinterpret_cast<void*>(PatternScan(offsetStr) + maskOffset); cheatAddress = reinterpret_cast<void*>(PatternScan(offsetStr) + maskOffset);
} }

View File

@ -7,13 +7,13 @@
#include "common/debug.h" #include "common/debug.h"
#include "common/logging/backend.h" #include "common/logging/backend.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/memory_patcher.h"
#include "common/ntapi.h" #include "common/ntapi.h"
#include "common/path_util.h" #include "common/path_util.h"
#include "common/polyfill_thread.h" #include "common/polyfill_thread.h"
#include "common/scm_rev.h" #include "common/scm_rev.h"
#include "common/singleton.h" #include "common/singleton.h"
#include "common/version.h" #include "common/version.h"
#include "common/memory_patcher.h"
#include "core/file_format/playgo_chunk.h" #include "core/file_format/playgo_chunk.h"
#include "core/file_format/psf.h" #include "core/file_format/psf.h"
#include "core/file_format/splash.h" #include "core/file_format/splash.h"