25 lines
484 B
C++
25 lines
484 B
C++
#pragma once
|
|
|
|
#include "RSPOpcode.h"
|
|
#include "RSPRegisterHandlerPlugin.h"
|
|
#include "RspTypes.h"
|
|
#include <memory>
|
|
|
|
enum RSPCpuType
|
|
{
|
|
InterpreterCPU = 0,
|
|
RecompilerCPU = 1,
|
|
};
|
|
|
|
extern UDWORD EleSpec[16], Indx[16];
|
|
|
|
extern uint32_t *PrgCount, RSP_Running;
|
|
extern RSPOpcode RSPOpC;
|
|
|
|
void SetCPU(RSPCpuType core);
|
|
void Build_RSP(void);
|
|
|
|
extern uint32_t Mfc0Count, SemaphoreExit;
|
|
extern RSPCpuType g_CPUCore;
|
|
extern std::unique_ptr<RSPRegisterHandlerPlugin> g_RSPRegisterHandler;
|