Fix Action Replay DS code type 0xE (Patch #163)
This commit is contained in:
parent
204e9b46e5
commit
b95380054e
|
@ -98,6 +98,7 @@ void CHEATS::ARparser(CHEATS_LIST& list)
|
||||||
|
|
||||||
if (if_flag > 0)
|
if (if_flag > 0)
|
||||||
{
|
{
|
||||||
|
if ((type == 0x0E)) i += ((lo + 7) / 8);
|
||||||
if ( (type == 0x0D) && (subtype == 0)) if_flag--; // ENDIF
|
if ( (type == 0x0D) && (subtype == 0)) if_flag--; // ENDIF
|
||||||
if ( (type == 0x0D) && (subtype == 2)) // NEXT & Flush
|
if ( (type == 0x0D) && (subtype == 2)) // NEXT & Flush
|
||||||
{
|
{
|
||||||
|
@ -388,7 +389,7 @@ void CHEATS::ARparser(CHEATS_LIST& list)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
i += (lo / 8);
|
i += ((lo + 7) / 8);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue