FPURoundMode: revert use of enums in bit-fields

The workaround of using fixed underlying types produces lots of warnings
in GCC because now the bit-fields are too small for the value range used
for conversion semantics.
This commit is contained in:
Tillmann Karras
2014-03-09 15:21:50 +01:00
parent 154ad838f4
commit d05e205a24
5 changed files with 18 additions and 14 deletions

View File

@ -8,7 +8,6 @@
#pragma once
#include "Common/Common.h"
#include "Common/FPURoundMode.h"
// --- Gekko Instruction ---
@ -390,7 +389,7 @@ union UReg_FPSCR
struct
{
// Rounding mode (towards: nearest, zero, +inf, -inf)
FPURoundMode::RoundModes RN : 2;
u32 RN : 2;
// Non-IEEE mode enable (aka flush-to-zero)
u32 NI : 1;
// Inexact exception enable