diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-03-05 12:23:13 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-03-05 12:23:13 -0600 |
| commit | 3d927d577b2400e6471a41b6cfec3c3331863e95 (patch) | |
| tree | 65259fa10030e1ceb08f2db157f8cbdb89da91b6 /Source/Core | |
| parent | 0c613a5f5b8e4fc2ff1d7025776c2e86f1ee6cc2 (diff) | |
| parent | 7733463e65f30166759d5ef1186abd1d333d0b96 (diff) | |
Merge pull request #133 from shuffle2/fix-ldmxscr-exception
commit 1a428de189eb9456695429adc11b606936218924 introduced a bug by usin...
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/FPURoundMode.h | 5 | ||||
| -rw-r--r-- | Source/Core/Core/PowerPC/Gekko.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/Common/FPURoundMode.h b/Source/Core/Common/FPURoundMode.h index ebed4cbe96..7971c009f9 100644 --- a/Source/Core/Common/FPURoundMode.h +++ b/Source/Core/Common/FPURoundMode.h @@ -8,14 +8,15 @@ namespace FPURoundMode { - enum RoundModes + enum RoundModes : u32 { ROUND_NEAR = 0, ROUND_CHOP = 1, ROUND_UP = 2, ROUND_DOWN = 3 }; - enum PrecisionModes { + enum PrecisionModes : u32 + { PREC_24 = 0, PREC_53 = 1, PREC_64 = 2 diff --git a/Source/Core/Core/PowerPC/Gekko.h b/Source/Core/Core/PowerPC/Gekko.h index 0d3b87e695..7855cee809 100644 --- a/Source/Core/Core/PowerPC/Gekko.h +++ b/Source/Core/Core/PowerPC/Gekko.h @@ -390,7 +390,7 @@ union UReg_FPSCR struct { // Rounding mode (towards: nearest, zero, +inf, -inf) - enum FPURoundMode::RoundModes RN : 2; + FPURoundMode::RoundModes RN : 2; // Non-IEEE mode enable (aka flush-to-zero) u32 NI : 1; // Inexact exception enable |
