Flip viewport based on screen scissor when Y negate is enabled

This commit is contained in:
gdkchan authored and KeatonTheBot committed 2026-10-30 10:21:58 -05:00
1 parent 1afcb3ead7
commit bd99084a28
1 file changed
+5
@@ -774,6 +774,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)
{