Core: Rearrange MoveSxByteX86regPointerToX86reg parameters

This commit is contained in:
zilmar 2022-11-07 13:37:29 +10:30
parent 288fe4d222
commit fe7b8afa92
3 changed files with 3 additions and 3 deletions

View File

@ -9840,7 +9840,7 @@ void CX86RecompilerOps::CompileLoadMemoryValue(CX86Ops::x86Reg AddressReg, CX86O
}
else if (SignExtend)
{
m_Assembler.MoveSxByteX86regPointerToX86reg(AddressReg, TempReg, ValueReg);
m_Assembler.MoveSxByteX86regPointerToX86reg(ValueReg, AddressReg, TempReg);
}
else
{

View File

@ -918,7 +918,7 @@ void CX86Ops::MoveConstToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, uint32_
AddCode32(Const);
}
void CX86Ops::MoveSxByteX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg)
void CX86Ops::MoveSxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2)
{
uint8_t Param = 0;

View File

@ -136,7 +136,7 @@ public:
void MoveConstToX86Pointer(x86Reg X86Pointer, uint32_t Const);
void MoveConstToX86reg(x86Reg Reg, uint32_t Const);
void MoveConstToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, uint32_t Const);
void MoveSxByteX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveSxByteX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveSxHalfX86regPointerToX86reg(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveSxVariableToX86regByte(void * Variable, const char * VariableName, x86Reg Reg);
void MoveSxVariableToX86regHalf(void * Variable, const char * VariableName, x86Reg Reg);