mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Fix VFPU D prefix handling for -0.0f.
This commit is contained in:
1 parent
c695d8dbf1
commit
e65e551f52
1 file changed
+2
-1
@@ -150,7 +150,8 @@ void ApplyPrefixD(float *v, VectorSize size, bool onlyWriteMask = false)
|
||||
if (sat == 1)
|
||||
{
|
||||
if (v[i] > 1.0f) v[i] = 1.0f;
|
||||
if (v[i] < 0.0f) v[i] = 0.0f;
|
||||
// This includes -0.0f -> +0.0f.
|
||||
if (v[i] <= 0.0f) v[i] = 0.0f;
|
||||
}
|
||||
else if (sat == 3)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user