--- xmil/z80x/z80x_mn.x86 2004/08/11 12:08:17 1.3 +++ xmil/z80x/z80x_mn.x86 2004/08/14 12:16:18 1.4 @@ -150,9 +150,9 @@ _ei: mov al, [edi + R_Z80IFF] and al, ~(1 << IFF_IFLAG) mov edx, [edi + z80core_t.remainclock] mov [edi + R_Z80IFF], al - test al, ((1 << IFF_IRQ) | (1 << IFF_NMI)) + test al, (1 << IFF_NMI) jne short .nextop - cmp dword [edi + z80core_t.reqirq], byte 0 + cmp dword [edi + R_Z80REQIRQ], byte 0 jne short .eventexit .nextop: cmp edx, byte 1 jge short .ed