FGR improvements

This commit is contained in:
Simone
2024-01-16 12:15:31 +01:00
parent c8bdf426fc
commit c4f021cb9d
3 changed files with 169 additions and 120 deletions

View File

@@ -108,8 +108,9 @@ struct Cop1 {
void SetCauseOverflow();
void SetCauseInvalid();
private:
template <typename T>
auto FGR(Cop0Status&, u32) -> T&;
template <typename T> auto FGR_T(Cop0Status&, u32) -> T&;
template <typename T> auto FGR_S(Cop0Status&, u32) -> T&;
template <typename T> auto FGR_D(Cop0Status&, u32) -> T&;
void decodeInterp(Interpreter&, u32);
void decodeJIT(JIT&, u32);
void absd(Registers&, u32 instr);