remove logic from mmu.cpp which might have been interfering MMU_VRAMmapControl()

This commit is contained in:
zeromus 2013-10-02 22:04:47 +00:00
parent 39f1b7260e
commit c33a11ac03
1 changed files with 1 additions and 8 deletions

View File

@ -4563,9 +4563,6 @@ u16 FASTCALL _MMU_ARM9_read16(u32 adr)
case REG_IME :
return (u16)MMU.reg_IME[ARMCPU_ARM9];
//WRAMCNT is readable but VRAMCNT is not, so just return WRAM's value
case REG_VRAMCNTG:
return MMU.WRAMCNT << 8;
case REG_IE :
return (u16)MMU.reg_IE[ARMCPU_ARM9];
@ -4654,10 +4651,6 @@ u32 FASTCALL _MMU_ARM9_read32(u32 adr)
case REG_DISPx_VCOUNT:
return nds.VCount;
//WRAMCNT is readable but VRAMCNT is not, so just return WRAM's value
case REG_VRAMCNTE:
return MMU.WRAMCNT << 24;
//despite these being 16bit regs,
//Dolphin Island Underwater Adventures uses this amidst seemingly reasonable divs so we're going to emulate it.
//well, it's pretty reasonable to read them as 32bits though, isnt it?