From ab249fc91310e2331d339f484a3958f09c77709b Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Mon, 23 Jun 2025 08:32:17 +0200 Subject: [PATCH] Don't return 0 when attempting to read from the GPA GPIO addresses with GPIO disabled (#2266) --- src/GBACart.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/GBACart.cpp b/src/GBACart.cpp index e6217f83..40436391 100644 --- a/src/GBACart.cpp +++ b/src/GBACart.cpp @@ -242,8 +242,6 @@ u16 CartGame::ROMRead(u32 addr) const case 0xC8: return GPIO.control; } } - else - return 0; } // CHECKME: does ROM mirror?