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)
{
case 0x0:
loopcount++;
loopbackline = i;
if (loopcount < (lo+1))
loop_flag = 1;
else
loop_flag = 0;
if (loopcount == 1)
loopcount++;
loopbackline = i;
break;
case 0x4: