Don't cause illegal instruction exception on unknown REP instruction. Patch from Battler.

This commit is contained in:
TomW 2016-03-17 21:47:56 +00:00
commit 673a3527af
2 changed files with 4 additions and 5 deletions

View file

@ -1040,7 +1040,7 @@ void rep(int fv)
else firstrepcycle=1;
break;
default:
pc=ipc;
pc = ipc+1;
cycles-=20;
FETCHCLEAR();
// printf("Bad REP %02X\n",temp);