cheats: small fix in AR loop code

This commit is contained in:
mtabachenko 2009-04-26 11:31:33 +00:00
parent ff59371827
commit cc0c3c4e26
1 changed files with 2 additions and 3 deletions

View File

@ -264,13 +264,12 @@ static void cheats_ARparser(CHEATS_LIST cheat)
switch (subtype) switch (subtype)
{ {
case 0x0: case 0x0:
loopcount++;
loopbackline = i;
if (loopcount < (lo+1)) if (loopcount < (lo+1))
loop_flag = 1; loop_flag = 1;
else else
loop_flag = 0; loop_flag = 0;
if (loopcount == 1) loopcount++;
loopbackline = i;
break; break;
case 0x4: case 0x4: