mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-22 15:57:02 +02:00
fuck fix
This commit is contained in:
parent
421fdc1f2b
commit
fea4858516
1 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ void EmitSpinLockLock(Xbyak::CodeGenerator& code, Xbyak::Address ptr, Xbyak::Reg
|
||||||
: Xbyak::util::rax;
|
: Xbyak::util::rax;
|
||||||
code.push(other_tmp);
|
code.push(other_tmp);
|
||||||
code.mov(other_tmp, ptr.getDisp());
|
code.mov(other_tmp, ptr.getDisp());
|
||||||
/*code.lock();*/ code.xchg(other_tmp, tmp);
|
/*code.lock();*/ code.xchg(code.dword[other_tmp], tmp);
|
||||||
code.pop(other_tmp);
|
code.pop(other_tmp);
|
||||||
} else {
|
} else {
|
||||||
/*code.lock();*/ code.xchg(ptr, tmp);
|
/*code.lock();*/ code.xchg(ptr, tmp);
|
||||||
|
|
@ -91,7 +91,7 @@ void EmitSpinLockLock(Xbyak::CodeGenerator& code, Xbyak::Address ptr, Xbyak::Reg
|
||||||
: Xbyak::util::rax;
|
: Xbyak::util::rax;
|
||||||
code.push(other_tmp);
|
code.push(other_tmp);
|
||||||
code.mov(other_tmp, ptr.getDisp());
|
code.mov(other_tmp, ptr.getDisp());
|
||||||
/*code.lock();*/ code.xchg(other_tmp, tmp);
|
/*code.lock();*/ code.xchg(code.dword[other_tmp], tmp);
|
||||||
code.pop(other_tmp);
|
code.pop(other_tmp);
|
||||||
} else {
|
} else {
|
||||||
/*code.lock();*/ code.xchg(ptr, tmp);
|
/*code.lock();*/ code.xchg(ptr, tmp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue