Misc: Combine some redundant functions

This commit is contained in:
Stenzek
2023-12-13 20:56:24 +10:00
parent 68d3cb5b4a
commit bc2c334370
6 changed files with 329 additions and 264 deletions

View File

@ -52,13 +52,13 @@ struct PGXP_value
float x;
float y;
float z;
u32 value;
union
{
u32 flags;
u8 compFlags[4];
u16 halfFlags[2];
};
u32 value;
};
struct State
@ -107,9 +107,7 @@ struct State
std::array<u8, SCRATCHPAD_SIZE> scratchpad = {};
PGXP_value pgxp_gpr[32];
PGXP_value pgxp_hi;
PGXP_value pgxp_lo;
PGXP_value pgxp_gpr[static_cast<u8>(Reg::count)];
PGXP_value pgxp_cop0[32];
PGXP_value pgxp_gte[64];