mirror of
https://github.com/ptitSeb/box64.git
synced 2025-10-14 02:38:54 +08:00
[INTERP] Fixed GetECommon_16 truncation (#3058)
This commit is contained in:
@@ -233,7 +233,7 @@ reg64_t* GetECommon_32(x64emu_t* emu, uintptr_t* addr, uint8_t m, uint32_t base)
|
||||
return (reg64_t*)(uintptr_t)base;
|
||||
}
|
||||
}
|
||||
reg64_t* GetECommon_16(x64emu_t *emu, uintptr_t* addr, uint8_t m, uint64_t base)
|
||||
reg64_t* GetECommon_16(x64emu_t *emu, uintptr_t* addr, uint8_t m, uint16_t base)
|
||||
{
|
||||
switch(m&7) {
|
||||
case 0: base+= R_BX+R_SI; break;
|
||||
|
Reference in New Issue
Block a user