m64p: include Goldeneye007 hack into dbg_memory.c's read_memory_32() and update the dll

fix #717
This commit is contained in:
feos 2016-11-04 20:28:48 +03:00
parent c9c7415883
commit 4da414aced
2 changed files with 6 additions and 1 deletions

View File

@ -316,7 +316,12 @@ void write_memory_64_unaligned(uint32 addr, uint64 value)
}
uint32 read_memory_32(uint32 addr){
const uint32 addrlow = (addr & 0xFFFF);
uint32 addrlow;
if (addr >= 0x7f000000 && addr < 0x80000000 && isGoldeneyeRom)
{
addr = virtual_to_physical_address(addr, 2);
}
addrlow = (addr & 0xFFFF);
switch(get_memory_type(addr))
{

Binary file not shown.