project64/Source/Project64-rsp-core/cpu/RspSystem.h

28 lines
577 B
C
Raw Normal View History

#pragma once
#include <Project64-rsp-core/cpu/RSPInterpreterOps.h>
#include <Project64-rsp-core/cpu/RSPRegisters.h>
#include <Project64-rsp-core/cpu/RspTypes.h>
#include <stdint.h>
class CRSPSystem
{
2024-08-07 21:56:15 +00:00
friend class RSPOp;
friend class CRSPRecompilerOps;
friend class CRSPRecompiler;
friend class RSPDebuggerUI;
2024-08-07 21:56:15 +00:00
friend void UpdateRSPRegistersScreen(void);
public:
CRSPSystem();
2024-08-07 21:56:15 +00:00
void Reset();
uint32_t RunInterpreterCPU(uint32_t Cycles);
private:
2024-08-07 21:56:15 +00:00
CRSPRegisters m_Reg;
RSPOp m_Op;
RSPOpcode m_OpCode;
};
extern CRSPSystem RSPSystem;