From fc6e13864203d16b98ee838147f3cd9bc3ab9a09 Mon Sep 17 00:00:00 2001 From: "matanki.saito" Date: Thu, 28 Nov 2024 09:41:39 +0900 Subject: [PATCH] Fix --- Plugin64/localization.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Plugin64/localization.cpp b/Plugin64/localization.cpp index 61af960..0246994 100644 --- a/Plugin64/localization.cpp +++ b/Plugin64/localization.cpp @@ -820,11 +820,11 @@ namespace Localization { BytePattern::temp_instance().find_pattern("A3 6E 6F 20 00 00"); // £no if (BytePattern::temp_instance().has_size(3, u8"space")) { intptr_t address = BytePattern::temp_instance().get(2).address(); - Injector::WriteMemory(address + 0, 0xA3, true); // £no£ - Injector::WriteMemory(address + 1, 0x6E, true); - Injector::WriteMemory(address + 2, 0x6F, true); - Injector::WriteMemory(address + 3, 0xA3, true); - Injector::WriteMemory(address + 4, 0xA0, true); + Injector::WriteMemory(address + 0, 0xA3, true); // £no + Injector::WriteMemory(address + 1, 0x6E, true); // n + Injector::WriteMemory(address + 2, 0x6F, true); // o + Injector::WriteMemory(address + 3, 0x20, true); // + Injector::WriteMemory(address + 4, 0xA0, true); // } else { e.localization.unmatchdLocalizationProc9Injector = true; @@ -833,12 +833,12 @@ namespace Localization { BytePattern::temp_instance().find_pattern("A3 79 65 73 20 00 00"); // £yes if (BytePattern::temp_instance().has_size(1, u8"space")) { intptr_t address = BytePattern::temp_instance().get_first().address(); - Injector::WriteMemory(address + 0, 0xA3, true); // £yes£ - Injector::WriteMemory(address + 1, 0x79, true); - Injector::WriteMemory(address + 2, 0x65, true); - Injector::WriteMemory(address + 3, 0x73, true); - Injector::WriteMemory(address + 4, 0xA3, true); - Injector::WriteMemory(address + 5, 0xA0, true); + Injector::WriteMemory(address + 0, 0xA3, true); // £ + Injector::WriteMemory(address + 1, 0x79, true); // y + Injector::WriteMemory(address + 2, 0x65, true); // e + Injector::WriteMemory(address + 3, 0x73, true); // s + Injector::WriteMemory(address + 4, 0x20, true); // + Injector::WriteMemory(address + 5, 0xA0, true); // } else { e.localization.unmatchdLocalizationProc9Injector = true;