From 76746a0fd74c3b7655eb9fa22cc2f3a6ee27b86b Mon Sep 17 00:00:00 2001 From: just nine Date: Mon, 22 Feb 2021 01:44:35 +0000 Subject: [PATCH] use the macro for setting irq level --- emulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator.c b/emulator.c index b022e0e..e8603be 100644 --- a/emulator.c +++ b/emulator.c @@ -375,7 +375,7 @@ int main(int argc, char *argv[]) { // pause pressed; trigger nmi (int level 7) if (c == 0x01 && c_type) { printf("[*] Sending NMI\n"); - m68k_set_irq(7); + M68K_SET_IRQ(7); } if (!kb_hook_enabled && c_type) {