Преглед на файлове

Fix wrong rotation direction on nvflinger

gdkchan преди 8 години
родител
ревизия
eacd432387
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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))
             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;
             byte* Fb = (byte*)Context.Ns.Ram + NvMap.Address;