Update emulator.c

This commit is contained in:
beeanyew
2021-02-20 06:20:46 +01:00
parent a3562c3e0d
commit c7f54bc071

View File

@@ -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();
}