RSP: move p_func from RspTypes.h to Cpu.h

This commit is contained in:
zilmar 2023-06-29 12:31:25 +09:30
parent 02da0ccad1
commit cfc63532dd
2 changed files with 2 additions and 13 deletions

View File

@ -4,6 +4,8 @@
extern UDWORD EleSpec[32], Indx[32];
typedef void(*p_func)(void);
extern p_func RSP_Opcode[64];
extern p_func RSP_RegImm[32];
extern p_func RSP_Special[64];

View File

@ -3,11 +3,6 @@
#include <stdint.h>
// Pointer to RSP operation code functions or "func"
// This is the type of all RSP interpreter and recompiler functions
typedef void (*p_func)(void);
typedef union tagUWORD
{
int32_t W;
@ -16,8 +11,6 @@ typedef union tagUWORD
uint16_t UHW[2];
int8_t B[4];
uint8_t UB[4];
float F;
} UWORD32;
typedef union tagUDWORD
@ -30,9 +23,6 @@ typedef union tagUDWORD
uint16_t UHW[4];
int8_t B[8];
uint8_t UB[8];
double D;
float F[2];
} UDWORD;
typedef union tagVect
@ -45,9 +35,6 @@ typedef union tagVect
uint16_t UHW[8];
int8_t B[16];
uint8_t UB[16];
double FD[2];
float FS[4];
} VECTOR;
#endif