apps,fceux,x6502: skip spin
This commit is contained in:
parent
a27b40c09d
commit
51a4647d4e
|
@ -484,11 +484,16 @@ extern int test; test++;
|
|||
_tcount=0;
|
||||
if(MapIRQHook) MapIRQHook(temp);
|
||||
|
||||
uint32 lastPC = _PC;
|
||||
_PC++;
|
||||
switch(b1)
|
||||
{
|
||||
#include "ops.inc"
|
||||
}
|
||||
if (lastPC == _PC) {
|
||||
// spinning, just finish the run
|
||||
_count = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue