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.
This commit is contained in:
Some1fromthedark 2019-09-21 09:32:33 -07:00 committed by Jonathan Li
parent 6392f79fb6
commit 33f4f04594
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ void handle_extended_t(IniPatch *p)
} }
else else
{ {
if (((mem & 0x0FFFFFFF) & 0x3FFFFFFC) != 0) if (((mem & 0x0FFFFFFF) & 0x3FFFFFFC) == 0)
PrevCheatType = 0; PrevCheatType = 0;
else else
PrevCheatType = 0x6001; PrevCheatType = 0x6001;