From 495db3a47cc8d8a05f54f9b4794957c797294077 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Thu, 14 Aug 2008 16:48:18 +0000 Subject: [PATCH] That couldn't work :p git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@28 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/Patch.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pcsx2/Patch.c b/pcsx2/Patch.c index 5f754bda92..a37eda3d7a 100644 --- a/pcsx2/Patch.c +++ b/pcsx2/Patch.c @@ -172,11 +172,11 @@ void _applypatch(int place, IniPatch *p) { // Check if needed to read another pointer if (IterationCount == 0){ PrevCheatType = 0; - if (LastType=0x0) + if (LastType==0x0) memWrite8(PrevCheataddr,IterationIncrement&0xFF); - if (LastType=0x1) + if (LastType==0x1) memWrite16(PrevCheataddr,IterationIncrement&0xFFFF); - if (LastType=0x2) + if (LastType==0x2) memWrite32(PrevCheataddr,IterationIncrement); }else{ PrevCheatType = 0x6001; @@ -192,11 +192,11 @@ void _applypatch(int place, IniPatch *p) { // Check if needed to read another pointer if (IterationCount == 0){ PrevCheatType = 0; - if (LastType=0x0) + if (LastType==0x0) memWrite8(PrevCheataddr,IterationIncrement&0xFF); - if (LastType=0x1) + if (LastType==0x1) memWrite16(PrevCheataddr,IterationIncrement&0xFFFF); - if (LastType=0x2) + if (LastType==0x2) memWrite32(PrevCheataddr,IterationIncrement); }else{ memRead32(PrevCheataddr,&u32Val); @@ -204,11 +204,11 @@ void _applypatch(int place, IniPatch *p) { IterationCount--; if (IterationCount == 0){ PrevCheatType = 0; - if (LastType=0x0) + if (LastType==0x0) memWrite8(PrevCheataddr,IterationIncrement&0xFF); - if (LastType=0x1) + if (LastType==0x1) memWrite16(PrevCheataddr,IterationIncrement&0xFFFF); - if (LastType=0x2) + if (LastType==0x2) memWrite32(PrevCheataddr,IterationIncrement); } }