diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h index f31d4daea..3c0091ed0 100644 --- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.h +++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.h @@ -1518,9 +1518,9 @@ private: // If the Source IR op is 64 bits, we need to zext the upper bits // For all other sizes, the upper bits are guaranteed to already be zero Src = GetOpSize(Src) == OpSize::i64Bit ? ARef(Src).Bfe(0, 32).Ref() : Src; - StoreGPRRegister(X86State::REG_RDX, Src, GPRSize); + StoreGPRRegister(GPR, Src, GPRSize); } else { - StoreGPRRegister(X86State::REG_RDX, Src, std::min(GPRSize, OpSize)); + StoreGPRRegister(GPR, Src, std::min(GPRSize, OpSize)); } }