mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Fix mistake in typecasting to uint64_t just to assign to uint32_t
This commit is contained in:
@@ -3325,8 +3325,8 @@ void CPU_CMPXCHG8B(PhysPt eaa) {
|
||||
uint32_t hi,lo;
|
||||
|
||||
/* NTS: We assume that, if reading doesn't cause a page fault, writing won't either */
|
||||
hi = (uint64_t)mem_readd(eaa+(PhysPt)4);
|
||||
lo = (uint64_t)mem_readd(eaa);
|
||||
hi = (uint32_t)mem_readd(eaa+(PhysPt)4);
|
||||
lo = (uint32_t)mem_readd(eaa);
|
||||
|
||||
LOG_MSG("Experimental CMPXCHG8B implementation executed. EDX:EAX=0x%08lx%08lx ECX:EBX=0x%08lx%08lx EA=0x%08lx MEM64=0x%08lx%08lx",
|
||||
(unsigned long)reg_edx,
|
||||
|
Reference in New Issue
Block a user