Core: rearrange MoveX86regPointerToX86regDisp8 parameters

This commit is contained in:
zilmar 2022-11-07 14:38:34 +10:30
parent d74694d16f
commit 891d487fdd
3 changed files with 3 additions and 3 deletions

View File

@ -9887,7 +9887,7 @@ void CX86RecompilerOps::CompileLoadMemoryValue(CX86Ops::x86Reg AddressReg, CX86O
if (ValueReg != CX86Ops::x86_Unknown)
{
m_Assembler.MoveX86regPointerToX86reg(ValueRegHi, AddressReg, TempReg);
m_Assembler.MoveX86regPointerToX86regDisp8(AddressReg, TempReg, ValueReg, 4);
m_Assembler.MoveX86regPointerToX86regDisp8(ValueReg, AddressReg, TempReg, 4);
}
else
{

View File

@ -1370,7 +1370,7 @@ void CX86Ops::MoveX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg Addr
AddCode8(Param);
}
void CX86Ops::MoveX86regPointerToX86regDisp8(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg, uint8_t offset)
void CX86Ops::MoveX86regPointerToX86regDisp8(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2, uint8_t offset)
{
uint8_t Param = 0;

View File

@ -149,7 +149,7 @@ public:
void MoveX86regHalfToVariable(void * Variable, const char * VariableName, x86Reg Reg);
void MoveX86regHalfToX86regPointer(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg);
void MoveX86regPointerToX86reg(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2);
void MoveX86regPointerToX86regDisp8(x86Reg AddrReg1, x86Reg AddrReg2, x86Reg Reg, uint8_t offset);
void MoveX86regPointerToX86regDisp8(x86Reg Reg, x86Reg AddrReg1, x86Reg AddrReg2, uint8_t offset);
void MoveX86regToMemory(x86Reg Reg, x86Reg AddrReg, uint32_t Disp);
void MoveX86regToVariable(x86Reg Reg, void * Variable, const char * VariableName);
void MoveX86RegToX86Reg(x86Reg Destination, x86Reg Source);