Fix Action Replay DS code type 0xE (Patch #163)

This commit is contained in:
normmatt234 2014-08-17 06:57:10 +00:00
parent 204e9b46e5
commit b95380054e
1 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ void CHEATS::ARparser(CHEATS_LIST& list)
if (if_flag > 0)
{
if ((type == 0x0E)) i += ((lo + 7) / 8);
if ( (type == 0x0D) && (subtype == 0)) if_flag--; // ENDIF
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;