From a43035e2a5dc2b66be192a9d270bd0990c64a4ed Mon Sep 17 00:00:00 2001 From: Godfather38 Date: Sun, 6 Sep 2026 12:39:01 -0700 Subject: [PATCH] Add SD mode patch for Super Smash Bros. Brawl (RSBE01) Brawl opens /dev/sdio/slot0 at boot; when the game itself is streamed from the SD slot this kills the loader (black screen, remote disconnect). Replace the SD library init call at 0x803ee240 with li r3,1 so pfd_sddrv_init returns 21 and the game takes its normal no-card path. Verified in Dolphin: no slot0 open, game runs; NTSC-U v1.02 only. Co-Authored-By: Claude Fable 5.1 --- source/patches/gamepatches.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/patches/gamepatches.c b/source/patches/gamepatches.c index 7bd8115e..2016551a 100644 --- a/source/patches/gamepatches.c +++ b/source/patches/gamepatches.c @@ -1200,6 +1200,10 @@ void patch_sdcard(u8 *gameid) else if (memcmp(gameid, "REXJ01", 6) == 0) *(u32 *)0x800ba404 = 0x4800014c; + // Super Smash Bros. Brawl (game opens /dev/sdio/slot0 at boot; skip its SD driver init so it takes the no-card path) + else if (memcmp(gameid, "RSBE01", 6) == 0) + *(u32 *)0x803ee240 = 0x38600001; // bl SDLibInit -> li r3,1 (NTSC-U v1.02) + // Kirby's Return to Dream Land else if (memcmp(gameid, "SUKE01", 6) == 0) {