Flip viewport based on screen scissor when Y negate is enabled

This commit is contained in:
gdkchan
2026-08-29 17:43:27 -05:00
committed by KeatonTheBot
parent 7e209bfe8f
commit 4b6330374c
@@ -777,6 +777,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
float width = scaleX * 2;
float height = scaleY * 2;
if (yNegate)
{
y += _state.State.ScreenScissorState.Height - MathF.Abs(height);
}
float scale = _channel.TextureManager.RenderTargetScale;
if (scale != 1f)
{