From 50f2b0a902cc6decaf0a12cffb38c68164df6d70 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Sat, 31 Jul 2021 20:09:24 +0200 Subject: [PATCH] Fix revert --- emulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator.c b/emulator.c index 90a6435..1c56018 100644 --- a/emulator.c +++ b/emulator.c @@ -220,7 +220,7 @@ cpu_loop: } while (irq) { - last_irq = ((inline_read_status_reg() & 0xe000) >> 13); + last_irq = ((ps_read_status_reg() & 0xe000) >> 13); uint8_t amiga_irq = amiga_emulated_ipl(); if (amiga_irq >= last_irq) { last_irq = amiga_irq;