From 689f69d85e9cf0944da6e8d9887076763246bd40 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 30 May 2009 20:03:26 +0000 Subject: [PATCH] port r2210 from trunk which fixes mariokart emu crash --- src/MMU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MMU.cpp b/src/MMU.cpp index df08ab890..3711e8ebf 100644 --- a/src/MMU.cpp +++ b/src/MMU.cpp @@ -372,7 +372,7 @@ static FORCEINLINE u32 MMU_LCDmap(u32 addr, bool& unmapped) unmapped = true; return 0; } - return LCDC_HACKY_LOCATION + (vram_arm7_map[bank]<<17) + ofs; + return LCDC_HACKY_LOCATION + (vram_arm7_map[bank]<<14) + ofs; } //handle LCD memory mirroring