Ver Fonte

Fix wrong rotation direction on nvflinger

gdkchan há 8 anos atrás
pai
commit
eacd432387
1 ficheiros alterados com 1 adições e 1 exclusões
  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;