port r2210 from trunk which fixes mariokart emu crash

This commit is contained in:
zeromus 2009-05-30 20:03:26 +00:00
parent 78c9e6d4d3
commit 689f69d85e
1 changed files with 1 additions and 1 deletions

View File

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