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