Parcourir la source

Fix wrong rotation direction on nvflinger

gdkchan il y a 8 ans
Parent
commit
eacd432387
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Ryujinx.Core/OsHle/Services/Vi/NvFlinger.cs

+ 1 - 1
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;