Implement pattern scanning for mask type patches

This commit is contained in:
CrazyBloo
2024-08-24 07:11:12 -04:00
parent 7564f195c3
commit 5377ae9c37
4 changed files with 113 additions and 15 deletions

View File

@@ -197,6 +197,7 @@ void Module::LoadModuleToMemory(u32& max_tls_index) {
if (MemoryPatcher::g_eboot_address == 0) {
if (name == "eboot") {
MemoryPatcher::g_eboot_address = base_virtual_addr;
MemoryPatcher::g_eboot_image_size = base_size;
MemoryPatcher::ApplyPendingPatches();
}
}