Skip to content

Commit

Permalink
Merge pull request #133 from shuffle2/fix-ldmxscr-exception
Browse files Browse the repository at this point in the history
commit 1a428de introduced a bug by usin...
  • Loading branch information
Sonicadvance1 committed Mar 5, 2014
2 parents 0c613a5 + 7733463 commit 3d927d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Common/FPURoundMode.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/Gekko.h
Expand Up @@ -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
Expand Down

0 comments on commit 3d927d5

Please sign in to comment.