mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
make FPSCR.RN an enum
This commit is contained in:
parent
d7a5558dc5
commit
197075293d
5 changed files with 11 additions and 21 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue