Fix for negative zero in fnmsubsx (interpreter)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4742 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2009-12-29 09:11:26 +00:00
parent 0403e3014e
commit a93a30e688
1 changed files with 2 additions and 2 deletions

View File

@ -459,8 +459,8 @@ void fnmsubx(UGeckoInstruction _inst)
}
void fnmsubsx(UGeckoInstruction _inst)
{
rPS0(_inst.FD) = rPS1(_inst.FD) =
ForceSingle(0.0-NI_msub(rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB)));
rPS0(_inst.FD) = rPS1(_inst.FD) =
ForceSingle(-NI_msub(rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB)));
UpdateFPRF(rPS0(_inst.FD));
if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}