Skip to content

Commit

Permalink
Core: CX86Ops::OrConstToVariable should be a dword_ptr not a word_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 committed Jan 4, 2024
1 parent dafa1fb commit 320769d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Project64-core/N64System/Recompiler/x86/x86ops.cpp
Expand Up @@ -529,12 +529,12 @@ void CX86Ops::OrConstToVariable(void * Variable, const char * VariableName, uint
{
stdstr_f SymbolKey("0x%X", Variable);
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());
}
else
{
or_(asmjit::x86::word_ptr((uint64_t)Variable), Const);
or_(asmjit::x86::dword_ptr((uint64_t)Variable), Const);
}
}

Expand Down

0 comments on commit 320769d

Please sign in to comment.