From c7f54bc071f9789b2fcefac78958144522f8dc53 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Sat, 20 Feb 2021 06:20:46 +0100 Subject: [PATCH] Update emulator.c --- emulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emulator.c b/emulator.c index 9081085..e6a7c6b 100644 --- a/emulator.c +++ b/emulator.c @@ -76,8 +76,9 @@ void *iplThread(void *args) { printf("IPL thread running\n"); while (1) { - if (!gpio_get_irq() && irq == 0) { - irq = 1; + if (!gpio_get_irq()) { + if (irq == 0) + irq = 1; m68k_end_timeslice(); } -- 2.39.5