Core: R4300iOp access the registers directly, not through CSystemRegisters

This commit is contained in:
zilmar 2023-10-19 12:52:33 +10:30
parent 4d78f56aa2
commit d58168bcb9
2 changed files with 489 additions and 466 deletions

View File

@ -8,8 +8,7 @@ class CX86RecompilerOps;
class R4300iOp : class R4300iOp :
public CLogging, public CLogging,
private CDebugSettings, private CDebugSettings
private CSystemRegisters
{ {
friend CX86RecompilerOps; friend CX86RecompilerOps;
@ -263,6 +262,19 @@ private:
CRegisters & m_Reg; CRegisters & m_Reg;
CMipsMemoryVM & m_MMU; CMipsMemoryVM & m_MMU;
R4300iOpcode m_Opcode; R4300iOpcode m_Opcode;
uint32_t & m_PROGRAM_COUNTER;
MIPS_DWORD * m_GPR;
MIPS_DWORD * m_FPR;
uint64_t * m_CP0;
MIPS_DWORD & m_RegHI;
MIPS_DWORD & m_RegLO;
uint32_t ** m_FPR_UW;
uint64_t ** m_FPR_UDW;
float ** m_FPR_S;
float ** m_FPR_S_L;
double ** m_FPR_D;
uint32_t * m_FPCR;
uint32_t & m_LLBit;
Func Jump_Opcode[64]; Func Jump_Opcode[64];
Func Jump_Special[64]; Func Jump_Special[64];