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));
}
}
if (patchMask == PatchMask::Mask) {
cheatAddress = reinterpret_cast<void*>(PatternScan(offsetStr) + maskOffset);
}

View file

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