From f048fb26e2c007b5a888c4b35b265ac9b1ce2a88 Mon Sep 17 00:00:00 2001 From: Matando Date: Thu, 2 Mar 2023 18:28:24 -0500 Subject: [PATCH] Fix MBC30 transferpak support in nrage input plugin (#2292) --- Source/nragev20/GBCart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/nragev20/GBCart.cpp b/Source/nragev20/GBCart.cpp index 92bf259dc..5cdf65108 100644 --- a/Source/nragev20/GBCart.cpp +++ b/Source/nragev20/GBCart.cpp @@ -889,7 +889,7 @@ bool WriteCartMBC3(LPGBCART Cart, WORD dwAddress, BYTE *Data) { if (Cart->bHasRam) { - Cart->iCurrentRamBankNo = Data[0] & 0x03; + Cart->iCurrentRamBankNo = Data[0] & 0x07; DebugWriteA("Set RAM Bank: %02X\n", Cart->iCurrentRamBankNo); if (Cart->bHasTimer && (Data[0] >= 0x08 && Data[0] <= 0x0c)) {