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

23 lines
388 B
C
Raw Normal View History

#pragma once
#include "RSPOpcode.h"
2023-09-28 02:22:06 +00:00
#include "RSPRegisterHandlerPlugin.h"
#include "RspTypes.h"
2023-09-28 02:22:06 +00:00
#include <memory>
enum RSPCpuType
{
InterpreterCPU = 0,
RecompilerCPU = 1,
};
2016-01-27 09:11:59 +00:00
extern UDWORD EleSpec[16], Indx[16];
2016-01-27 09:11:59 +00:00
extern uint32_t *PrgCount, RSP_Running;
2016-01-27 09:11:59 +00:00
void SetCPU(RSPCpuType core);
void Build_RSP(void);
extern uint32_t Mfc0Count, SemaphoreExit;
2023-09-28 02:22:06 +00:00
extern RSPCpuType g_CPUCore;