mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-30 10:26:14 +00:00
fuck fix
This commit is contained in:
@@ -64,7 +64,7 @@ void EmitSpinLockLock(Xbyak::CodeGenerator& code, Xbyak::Address ptr, Xbyak::Reg
|
||||
: Xbyak::util::rax;
|
||||
code.push(other_tmp);
|
||||
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);
|
||||
} else {
|
||||
/*code.lock();*/ code.xchg(ptr, tmp);
|
||||
@@ -85,7 +85,7 @@ void EmitSpinLockLock(Xbyak::CodeGenerator& code, Xbyak::Address ptr, Xbyak::Reg
|
||||
: Xbyak::util::rax;
|
||||
code.push(other_tmp);
|
||||
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);
|
||||
} else {
|
||||
/*code.lock();*/ code.xchg(ptr, tmp);
|
||||
|
||||
Reference in New Issue
Block a user