mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-02 17:36:31 +00:00
emit_x64_memory: Fix bug in 16-bit ordered EmitReadMemoryMov
This commit is contained in:
@@ -215,7 +215,7 @@ const void* EmitReadMemoryMov(BlockOfCode& code, int value_idx, const Xbyak::Reg
|
||||
break;
|
||||
case 16:
|
||||
code.lock();
|
||||
code.xadd(word[addr], Xbyak::Reg32{value_idx});
|
||||
code.xadd(word[addr], Xbyak::Reg16{value_idx});
|
||||
break;
|
||||
case 32:
|
||||
code.lock();
|
||||
|
||||
Reference in New Issue
Block a user