mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-23 01:42:56 -05:00
Interpreter: Fix FPRF handling of denormal singles
This commit is contained in:
@@ -626,11 +626,16 @@ void PowerPCState::SetSR(u32 index, u32 value)
|
||||
|
||||
// FPSCR update functions
|
||||
|
||||
void UpdateFPRF(double dvalue)
|
||||
void UpdateFPRFDouble(double dvalue)
|
||||
{
|
||||
FPSCR.FPRF = Common::ClassifyDouble(dvalue);
|
||||
}
|
||||
|
||||
void UpdateFPRFSingle(float fvalue)
|
||||
{
|
||||
FPSCR.FPRF = Common::ClassifyFloat(fvalue);
|
||||
}
|
||||
|
||||
void RoundingModeUpdated()
|
||||
{
|
||||
// The rounding mode is separate for each thread, so this must run on the CPU thread
|
||||
|
||||
Reference in New Issue
Block a user