Core: rearrange MoveX86regByteToVariable parameters

This commit is contained in:
zilmar 2022-11-07 14:23:09 +10:30
parent d19fc10f0c
commit bb51c3d11d
3 changed files with 3 additions and 3 deletions

View File

@ -10238,7 +10238,7 @@ void CX86RecompilerOps::SB_Register(CX86Ops::x86Reg Reg, uint32_t VAddr)
} }
else if (PAddr < g_MMU->RdramSize()) else if (PAddr < g_MMU->RdramSize())
{ {
m_Assembler.MoveX86regByteToVariable(Reg, (PAddr ^ 3) + g_MMU->Rdram(), stdstr_f("RDRAM + (%X ^ 3)", PAddr).c_str()); m_Assembler.MoveX86regByteToVariable((PAddr ^ 3) + g_MMU->Rdram(), stdstr_f("RDRAM + (%X ^ 3)", PAddr).c_str(), Reg);
} }
break; break;
default: default:

View File

@ -1120,7 +1120,7 @@ void CX86Ops::MoveVariableDispToX86Reg(x86Reg Reg, void * Variable, const char *
AddCode32((uint32_t)Variable); AddCode32((uint32_t)Variable);
} }
void CX86Ops::MoveX86regByteToVariable(x86Reg Reg, void * Variable, const char * VariableName) void CX86Ops::MoveX86regByteToVariable(void * Variable, const char * VariableName, x86Reg Reg)
{ {
CodeLog(" mov byte ptr [%s], %s", VariableName, x86_ByteName(Reg)); CodeLog(" mov byte ptr [%s], %s", VariableName, x86_ByteName(Reg));

View File

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