AR: BugFix to Memory Copy Without Pointer
Using ReadUncheked to avoid changing the state of the emulation
This commit is contained in:
parent
46e74782a7
commit
e70baf43d4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue