mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
cz80, improve cycle accounting
This commit is contained in:
parent
e0d5c83fd3
commit
85894ad406
4 changed files with 46 additions and 45 deletions
|
@ -709,12 +709,9 @@ OP_EI:
|
|||
zR++;
|
||||
#endif
|
||||
}
|
||||
if (CPU->IRQState)
|
||||
{
|
||||
afterEI = 1;
|
||||
CPU->ExtraCycles += 1 - CPU->ICount;
|
||||
CPU->ICount = 1;
|
||||
}
|
||||
afterEI = 1;
|
||||
CPU->ExtraCycles += 1 - CPU->ICount;
|
||||
CPU->ICount = 1;
|
||||
}
|
||||
else zIFF2 = (1 << 2);
|
||||
goto Cz80_Exec_nocheck;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue