From 02e2ce331663a8f6237975c9f9b4e7745cd935b2 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 12 Nov 2021 18:35:55 +0100 Subject: [PATCH] sms, fix pause button (cz80 nmi) --- pico/pico_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico/pico_int.h b/pico/pico_int.h index a1990296..db909fa0 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -180,7 +180,7 @@ extern struct DrZ80 drZ80; #define z80_run_nr(cycles) Cz80_Exec(&CZ80, cycles) #define z80_int() Cz80_Set_IRQ(&CZ80, 0, HOLD_LINE) #define z80_int_assert(a) Cz80_Set_IRQ(&CZ80, 0, (a) ? ASSERT_LINE : CLEAR_LINE) -#define z80_nmi() Cz80_Set_IRQ(&CZ80, IRQ_LINE_NMI, 0) +#define z80_nmi() Cz80_Set_IRQ(&CZ80, IRQ_LINE_NMI, ASSERT_LINE) #define z80_cyclesLeft (CZ80.ICount - CZ80.ExtraCycles) #define z80_subCLeft(c) CZ80.ICount -= c -- 2.39.5