1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-27 20:42:03 +00:00

Fix wrong rotation direction on nvflinger

This commit is contained in:
gdkchan 2018-02-28 19:21:04 -03:00
parent 424e045940
commit eacd432387

View file

@ -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;