mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-13 09:39:20 +01:00
PowerPC: Move a few functions to PowerPCState.
This commit is contained in:
9 files changed
+124
-139
No files matched your search
@@ -200,7 +200,7 @@ static void ResetRegisters()
|
||||
{
|
||||
v = 0x8000000000000001;
|
||||
}
|
||||
SetXER({});
|
||||
ppcState.SetXER({});
|
||||
|
||||
RoundingModeUpdated();
|
||||
DBATUpdated();
|
||||
@@ -661,14 +661,14 @@ void PowerPCState::SetSR(u32 index, u32 value)
|
||||
|
||||
// FPSCR update functions
|
||||
|
||||
void UpdateFPRFDouble(double dvalue)
|
||||
void PowerPCState::UpdateFPRFDouble(double dvalue)
|
||||
{
|
||||
PowerPC::ppcState.fpscr.FPRF = Common::ClassifyDouble(dvalue);
|
||||
fpscr.FPRF = Common::ClassifyDouble(dvalue);
|
||||
}
|
||||
|
||||
void UpdateFPRFSingle(float fvalue)
|
||||
void PowerPCState::UpdateFPRFSingle(float fvalue)
|
||||
{
|
||||
PowerPC::ppcState.fpscr.FPRF = Common::ClassifyFloat(fvalue);
|
||||
fpscr.FPRF = Common::ClassifyFloat(fvalue);
|
||||
}
|
||||
|
||||
void RoundingModeUpdated()
|
||||
|
||||
Reference in new issue
Block a user