Fixed a bug in the new patch code introduced in r669, and applied a patch for ICC from Issue 69. Thanks, feal87 :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@712 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
tmkkmac 2009-03-07 12:27:55 +00:00
parent 60b7edd273
commit 661d5442a8
2 changed files with 4 additions and 4 deletions

View File

@ -619,7 +619,7 @@ public:
} }
private: private:
UnicodeDictionary( const Dictionary& src ) {} UnicodeDictionary( const UnicodeDictionary& src ) {}
}; };
} }

View File

@ -190,11 +190,11 @@ void handle_extended_t( IniPatch *p)
PrevCheatType = 0; PrevCheatType = 0;
if (((u32Val&0x0FFFFFFF) & 0x3FFFFFFC) != 0) if (((u32Val&0x0FFFFFFF) & 0x3FFFFFFC) != 0)
{ {
if (LastType=0x0) if (LastType==0x0)
memWrite8(PrevCheataddr,(u8)p->data&0xFF); memWrite8(PrevCheataddr,(u8)p->data&0xFF);
else if (LastType=0x1) else if (LastType==0x1)
memWrite16(PrevCheataddr,(u16)p->data&0x0FFFF); memWrite16(PrevCheataddr,(u16)p->data&0x0FFFF);
else if (LastType=0x2) else if (LastType==0x2)
memWrite32(PrevCheataddr,(u32)p->data); memWrite32(PrevCheataddr,(u32)p->data);
} }