make FPSCR.RN an enum

This commit is contained in:
Shawn Hoffman committed 2021-07-17 18:55:06 -07:00
1 parent d7a5558dc5
commit 197075293d
5 files changed
+11 -21

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@
#include "Common/BitField.h"
#include "Common/CommonTypes.h"
#include "Common/FPURoundMode.h"
// --- Gekko Instruction ---
@@ -435,7 +436,7 @@ union UReg_FPSCR
struct
{
// Rounding mode (towards: nearest, zero, +inf, -inf)
u32 RN : 2;
FPURoundMode::RoundMode RN : 2;
// Non-IEEE mode enable (aka flush-to-zero)
u32 NI : 1;
// Inexact exception enable