From 33f4f04594c3c51f0414b1217b8015a610452c4a Mon Sep 17 00:00:00 2001 From: Some1fromthedark Date: Sat, 21 Sep 2019 09:32:33 -0700 Subject: [PATCH] pcsx2: Fix parsing error in pointer patch command (#3112) Fixes a type 6 (pointer) code parsing error that resulted in codes with more than one offset getting terminated early. --- pcsx2/Patch_Memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Patch_Memory.cpp b/pcsx2/Patch_Memory.cpp index e0179066ee..e080e0cf0f 100644 --- a/pcsx2/Patch_Memory.cpp +++ b/pcsx2/Patch_Memory.cpp @@ -147,7 +147,7 @@ void handle_extended_t(IniPatch *p) } else { - if (((mem & 0x0FFFFFFF) & 0x3FFFFFFC) != 0) + if (((mem & 0x0FFFFFFF) & 0x3FFFFFFC) == 0) PrevCheatType = 0; else PrevCheatType = 0x6001;