mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Interpreter: Remove underscore from frsp's parameter
This commit is contained in:
parent
92ce365053
commit
a98bddc352
@ -272,15 +272,14 @@ void Interpreter::fselx(UGeckoInstruction _inst)
|
|||||||
// !!! warning !!!
|
// !!! warning !!!
|
||||||
// PS1 must be set to the value of PS0 or DragonballZ will be f**ked up
|
// PS1 must be set to the value of PS0 or DragonballZ will be f**ked up
|
||||||
// PS1 is said to be undefined
|
// PS1 is said to be undefined
|
||||||
void Interpreter::frspx(UGeckoInstruction _inst) // round to single
|
void Interpreter::frspx(UGeckoInstruction inst) // round to single
|
||||||
{
|
{
|
||||||
double b = rPS0(_inst.FB);
|
double b = rPS0(inst.FB);
|
||||||
double rounded = ForceSingle(b);
|
double rounded = ForceSingle(b);
|
||||||
SetFI(b != rounded);
|
SetFI(b != rounded);
|
||||||
FPSCR.FR = fabs(rounded) > fabs(b);
|
FPSCR.FR = fabs(rounded) > fabs(b);
|
||||||
UpdateFPRF(rounded);
|
UpdateFPRF(rounded);
|
||||||
rPS0(_inst.FD) = rPS1(_inst.FD) = rounded;
|
rPS0(inst.FD) = rPS1(inst.FD) = rounded;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user