fixes for idle and other stuff

This commit is contained in:
notaz 2013-08-16 00:46:25 +03:00
parent 8ad1d2adf2
commit 0219d379de
6 changed files with 26 additions and 14 deletions

View file

@ -3126,6 +3126,7 @@ int sh2_execute(SH2 *sh2c, int cycles)
if (ret_cycles > 0)
dbg(1, "warning: drc returned with cycles: %d", ret_cycles);
sh2c->sr &= 0x3f3;
return sh2c->cycles_timeslice - ret_cycles;
}