summaryrefslogtreecommitdiff
path: root/Source/Core/Common/ArmFPURoundMode.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2021-07-17 18:55:06 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2021-07-17 18:55:06 -0700
commit197075293de40a087bd9a7d31eef91e1e33a8693 (patch)
tree4ab3ebb5fd2572f5240173bb3b4c353b6dbe51fd /Source/Core/Common/ArmFPURoundMode.cpp
parentd7a5558dc5784dfa849466be3f6dd88c108fe835 (diff)
make FPSCR.RN an enum
Diffstat (limited to 'Source/Core/Common/ArmFPURoundMode.cpp')
-rw-r--r--Source/Core/Common/ArmFPURoundMode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/ArmFPURoundMode.cpp b/Source/Core/Common/ArmFPURoundMode.cpp
index 95253dc83b..c20e9f2e19 100644
--- a/Source/Core/Common/ArmFPURoundMode.cpp
+++ b/Source/Core/Common/ArmFPURoundMode.cpp
@@ -35,12 +35,12 @@ namespace FPURoundMode
static const u64 default_fpcr = GetFPCR();
static u64 saved_fpcr = default_fpcr;
-void SetRoundMode(int mode)
+void SetRoundMode(RoundMode mode)
{
// We don't need to do anything here since SetSIMDMode is always called after calling this
}
-void SetSIMDMode(int rounding_mode, bool non_ieee_mode)
+void SetSIMDMode(RoundMode rounding_mode, bool non_ieee_mode)
{
// When AH is disabled, FZ controls flush-to-zero for both inputs and outputs. When AH is enabled,
// FZ controls flush-to-zero for outputs, and FIZ controls flush-to-zero for inputs.