make carts think they are booted from card. (firmware sets this value).

This commit is contained in:
normmatt234 2009-12-21 20:09:25 +00:00
parent 5e0a1bb8d1
commit db8774bdbf
1 changed files with 4 additions and 0 deletions

View File

@ -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)