aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-28 19:21:04 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-28 19:21:04 -0300
commiteacd432387677dc0513255f8c3661f5c3ef05d65 (patch)
tree4575b7c5b8686f4cc0528bf2dc1c95d61869ac9a
parent424e0459403fd7ffeb8980b16a6a9e3a1201c5e6 (diff)
Fix wrong rotation direction on nvflinger
-rw-r--r--Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs b/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs
index 85a06cea..3e45c441 100644
--- a/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs
+++ b/Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs
@@ -274,7 +274,7 @@ namespace Ryujinx.Core.OsHle.IpcServices.Android
if (BufferQueue[Slot].Transform.HasFlag(HalTransform.Rotate90))
{
- Rotate = MathF.PI * 0.5f;
+ Rotate = -MathF.PI * 0.5f;
}
byte* Fb = (byte*)Context.Ns.Ram + NvMap.Address;