Oops... fixed a stupid bug with MMU_DumpMemBlock. Both mem viewers would show ARM7 memory. I'm stupid sometimes...

This commit is contained in:
luigi__ 2009-04-11 15:51:28 +00:00
parent ba4a4b1915
commit dd0d05928d
1 changed files with 1 additions and 1 deletions

View File

@ -4370,7 +4370,7 @@ void FASTCALL MMU_DumpMemBlock(u8 proc, u32 address, u32 size, u8 *buffer)
for(i = 0, curaddr = address; i < size; i++, curaddr++)
{
buffer[i] = T1ReadByte(MMU.MMU_MEM[ARMCPU_ARM7][(curaddr >> 20) & 0xFF], (curaddr & MMU.MMU_MASK[ARMCPU_ARM7][(curaddr >> 20) & 0xFF]));
buffer[i] = T1ReadByte(MMU.MMU_MEM[proc][(curaddr >> 20) & 0xFF], (curaddr & MMU.MMU_MASK[proc][(curaddr >> 20) & 0xFF]));
}
}