AR: BugFix to Memory Copy Without Pointer

Using ReadUncheked to avoid changing the state of the emulation
This commit is contained in:
FenrisulfrX 2014-12-22 06:22:01 -02:00
parent 46e74782a7
commit e70baf43d4
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ static bool ZeroCode_MemoryCopy(const u32 val_last, const ARAddr& addr, const u3
for (int i=0; i < num_bytes; ++i) for (int i=0; i < num_bytes; ++i)
{ {
Memory::Write_U8(Memory::Read_U8(addr_src + i), addr_dest + i); Memory::Write_U8(Memory::Read_U8(addr_src + i), addr_dest + i);
LogInfo("Wrote %08x to address %08x", Memory::Read_U8(addr_src + i), addr_dest + i); LogInfo("Wrote %08x to address %08x", Memory::ReadUnchecked_U8(addr_src + i), addr_dest + i);
} }
LogInfo("--------"); LogInfo("--------");
return true; return true;