Core: rearrange MoveX86regByteToX86regPointer parameters

This commit is contained in:
zilmar 2022-11-07 14:24:22 +10:30
parent bb51c3d11d
commit 1966b842f3
3 changed files with 3 additions and 3 deletions

View File

@ -10064,7 +10064,7 @@ void CX86RecompilerOps::CompileStoreMemoryValue(CX86Ops::x86Reg AddressReg, CX86
}
else if (m_Assembler.Is8BitReg(ValueReg))
{
m_Assembler.MoveX86regByteToX86regPointer(ValueReg, AddressReg, TempReg);
m_Assembler.MoveX86regByteToX86regPointer(AddressReg, TempReg, ValueReg);
}
else
{

View File

@ -1136,7 +1136,7 @@ void CX86Ops::MoveX86regByteToVariable(void * Variable, const char * VariableNam
AddCode32((uint32_t)Variable);
}
void CX86Ops::MoveX86regByteToX86regPointer(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2)
void CX86Ops::MoveX86regByteToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg)
{
uint8_t Param = 0;

View File

@ -145,7 +145,7 @@ public:
void MoveX86PointerToX86reg(x86Reg Reg, x86Reg X86Pointer);
void MoveX86PointerToX86regDisp(x86Reg Reg, x86Reg X86Pointer, uint8_t Disp);
void MoveX86regByteToVariable(void * Variable, const char * VariableName, x86Reg Reg);
void MoveX86regByteToX86regPointer(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveX86regByteToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveX86regHalfToN64Mem(x86Reg Reg, x86Reg AddrReg);
void MoveX86regHalfToVariable(x86Reg Reg, void * Variable, const char * VariableName);
void MoveX86regHalfToX86regPointer(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);