]> git.sesse.net Git - pistorm/commitdiff
use the macro for setting irq level
authorjust nine <nine@aphlor.org>
Mon, 22 Feb 2021 01:44:35 +0000 (01:44 +0000)
committerjust nine <nine@aphlor.org>
Mon, 22 Feb 2021 11:18:03 +0000 (11:18 +0000)
emulator.c

index b022e0ef6fc9e586a2af0954eb78500b44b4c03f..e8603be2b0cd7ce4dd63aa169ace95d2b140f9e0 100644 (file)
@@ -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) {