Core: CX86Ops::OrConstToVariable should be a dword_ptr not a word_ptr
This commit is contained in:
parent
dafa1fb24d
commit
320769d991
|
@ -529,12 +529,12 @@ void CX86Ops::OrConstToVariable(void * Variable, const char * VariableName, uint
|
||||||
{
|
{
|
||||||
stdstr_f SymbolKey("0x%X", Variable);
|
stdstr_f SymbolKey("0x%X", Variable);
|
||||||
AddSymbol(SymbolKey.c_str(), VariableName);
|
AddSymbol(SymbolKey.c_str(), VariableName);
|
||||||
or_(asmjit::x86::word_ptr((uint64_t)Variable), Const);
|
or_(asmjit::x86::dword_ptr((uint64_t)Variable), Const);
|
||||||
RemoveSymbol(SymbolKey.c_str());
|
RemoveSymbol(SymbolKey.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
or_(asmjit::x86::word_ptr((uint64_t)Variable), Const);
|
or_(asmjit::x86::dword_ptr((uint64_t)Variable), Const);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue