From df8d8091edead336173ecb1311cdbb068bf26168 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Wed, 8 Oct 2025 17:02:56 +0200 Subject: [PATCH] 3rdParty: update transfer pak patch again in mupen64plus-core --- .../mupen64plus-core/src/device/controllers/paks/transferpak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/3rdParty/mupen64plus-core/src/device/controllers/paks/transferpak.c b/Source/3rdParty/mupen64plus-core/src/device/controllers/paks/transferpak.c index 92f02339..fef65a64 100644 --- a/Source/3rdParty/mupen64plus-core/src/device/controllers/paks/transferpak.c +++ b/Source/3rdParty/mupen64plus-core/src/device/controllers/paks/transferpak.c @@ -39,7 +39,7 @@ static uint16_t gb_cart_address(unsigned int bank, uint16_t address) { - return 0x4000 * bank + (address & 0x7fff) - 0x4000; + return (address & 0x3fff) | (bank * 0x4000); } void init_transferpak(struct transferpak* tpk, struct gb_cart* gb_cart)