[CPCHawk] FloohZ80 Fix interrupt tracelogger reporting
This commit is contained in:
parent
b85ddf0382
commit
ac25842689
src/BizHawk.Emulation.Cores/Computers/AmstradCPC/Hardware
|
@ -177,12 +177,12 @@ namespace BizHawk.Emulation.Cores.Computers.AmstradCPC
|
|||
|
||||
public void ExecuteOne()
|
||||
{
|
||||
if (INT == 1 && Z80.iff1 > 0)
|
||||
if (INT == 1 && Z80.iff1 == 0 && Z80.iff2 == 0)
|
||||
{
|
||||
TraceCallback?.Invoke(new(disassembly: "====IRQ====", registerInfo: string.Empty));
|
||||
}
|
||||
|
||||
if (NMI == 1)
|
||||
if (NMI == 1 && Z80.iff1 == 0 && Z80.iff2 == 0)
|
||||
{
|
||||
TraceCallback?.Invoke(new(disassembly: "====NMI====", registerInfo: string.Empty));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue