Sfoglia il codice sorgente

Fix wrong rotation direction on nvflinger

gdkchan 8 anni fa
parent
commit
eacd432387
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;