Skip to content

Commit

Permalink
RSP: move p_func from RspTypes.h to Cpu.h
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 committed Jun 29, 2023
1 parent 02da0cc commit cfc6353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 2 additions & 0 deletions Source/Project64-rsp/Cpu.h
Expand Up @@ -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];
Expand Down
13 changes: 0 additions & 13 deletions Source/Project64-rsp/RspTypes.h
Expand Up @@ -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;
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit cfc6353

Please sign in to comment.