emit_x64_memory: Fix bug in 16-bit ordered EmitReadMemoryMov
This commit is contained in:
parent
9cadab8fa9
commit
cd91a36613
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ const void* EmitReadMemoryMov(BlockOfCode& code, int value_idx, const Xbyak::Reg
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
code.lock();
|
code.lock();
|
||||||
code.xadd(word[addr], Xbyak::Reg32{value_idx});
|
code.xadd(word[addr], Xbyak::Reg16{value_idx});
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
code.lock();
|
code.lock();
|
||||||
|
|
Loading…
Reference in a new issue