From: beeanyew Date: Thu, 13 May 2021 17:57:37 +0000 (+0200) Subject: Fix platform write check bug X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a9b6d31740fdd88f2b0c0292248d460036003679;p=pistorm Fix platform write check bug --- diff --git a/emulator.c b/emulator.c index 54b64a7..ec2d0f1 100644 --- a/emulator.c +++ b/emulator.c @@ -869,9 +869,11 @@ unsigned int m68k_read_memory_32(unsigned int address) { case PLATFORM_AMIGA: { \ if (address >= PISCSI_OFFSET && address < PISCSI_UPPER) { \ handle_piscsi_write(address, value, a); \ + return; \ } \ if (address >= PINET_OFFSET && address < PINET_UPPER) { \ handle_pinet_write(address, value, a); \ + return; \ } \ if (address >= PIGFX_RTG_BASE && address < PIGFX_UPPER) { \ rtg_write((address & 0x0FFFFFFF), value, a); \