Flip viewport based on screen scissor when Y negate is enabled

This commit is contained in:
gdkchan
2026-09-13 21:39:53 -05:00
committed by KeatonTheBot
parent 07d35ab0e3
commit 95ab195207
@@ -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)
{