From db8774bdbf5b5cfa5f2eec61b1673a62b2d6d2c0 Mon Sep 17 00:00:00 2001 From: normmatt234 Date: Mon, 21 Dec 2009 20:09:25 +0000 Subject: [PATCH] make carts think they are booted from card. (firmware sets this value). --- desmume/src/MMU.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index 47acc309c..4c0fd6f5b 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -985,6 +985,10 @@ void MMU_Reset() MMU_timing.arm9dataFetch.Reset(); MMU_timing.arm9codeCache.Reset(); MMU_timing.arm9dataCache.Reset(); + + // Booted from card -- EXTREMELY IMPORTANT!!! Thanks to cReDiAr + MMU_write8(0,0x027ffc40,0x1); + MMU_write8(1,0x027ffc40,0x1); } void MMU_setRom(u8 * rom, u32 mask)