Core: Fix CMipsMemoryVM::MemoryValue64 for sdl/sdr

This commit is contained in:
zilmar 2022-09-19 12:13:19 +09:30
parent 05d46c9487
commit 21b193152a
1 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,8 @@ bool CMipsMemoryVM::MemoryValue64(uint32_t VAddr, uint64_t & Value)
{
return false;
}
Value = *(uint64_t*)(ptr);
*((uint32_t*)(&Value) + 1) = *(uint32_t*)(ptr);
*((uint32_t*)(&Value) + 0) = *(uint32_t*)(ptr + 4);
return true;
}