mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
fix for EI insn in cz80 (partial revert of 43e1401
)
This commit is contained in:
parent
672b29e658
commit
91f5fbe89b
1 changed files with 2 additions and 0 deletions
|
@ -712,6 +712,8 @@ OP_EI:
|
||||||
if (CPU->IRQState)
|
if (CPU->IRQState)
|
||||||
{
|
{
|
||||||
afterEI = 1;
|
afterEI = 1;
|
||||||
|
CPU->ExtraCycles += 1 - CPU->ICount;
|
||||||
|
CPU->ICount = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else zIFF2 = (1 << 2);
|
else zIFF2 = (1 << 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue