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

24 lines
444 B
C
Raw Normal View History

#pragma once
#include <Project64-rsp-core/cpu/RSPInterpreterOps.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 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_OpCodes;
};
extern CRSPSystem RSPSystem;