mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-05-04 11:53:31 +02:00
fix for EI insn in cz80 (partial revert of 43e1401)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user