mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc+interpreter, minor improvement for cycle counting
This commit is contained in:
parent
e867ec06e1
commit
fa0d0d224e
2 changed files with 8 additions and 7 deletions
|
@ -221,7 +221,7 @@ int sh2_execute_interpreter(SH2 *sh2, int cycles)
|
|||
|| pc_expect != sh2->pc) // branched
|
||||
{
|
||||
pc_expect = sh2->pc;
|
||||
if (sh2->icount < 0)
|
||||
if (sh2->icount <= 0)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue