From 88bc3a2278b9833469a039e0ea7a1f176bbb04e3 Mon Sep 17 00:00:00 2001 From: PugsyMAME <18102600+PugsyMAME@users.noreply.github.com> Date: Sun, 22 Sep 2024 12:05:44 +0100 Subject: [PATCH] Fixed typo in F4 Cheat Type code (#3300) Typo in my code, this fix will make it work properly on multiple find & replaces. --- src/core/cheats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index 14bda4ac5..186650b15 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -1360,7 +1360,7 @@ void CheatCode::Apply() const DoMemoryWrite(address + 14, r15); if (r16 != wildcard) DoMemoryWrite(address + 15, r16); - address = address + 15; + address = address + 16; } } index += 5;