From e4570920b5258c0f4b0dc643a1312a5acfd715fa Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 7 Sep 2024 20:19:28 +1000 Subject: [PATCH] GPU: Fix internal res screenshot AR with None cropping --- src/core/gpu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gpu.cpp b/src/core/gpu.cpp index 02dec90be..f7457d779 100644 --- a/src/core/gpu.cpp +++ b/src/core/gpu.cpp @@ -2772,8 +2772,8 @@ void GPU::CalculateScreenshotSize(DisplayScreenshotMode mode, u32* width, u32* h { if (mode == DisplayScreenshotMode::InternalResolution) { - const u32 draw_width = static_cast(draw_rect->width()); - const u32 draw_height = static_cast(draw_rect->height()); + const u32 draw_width = static_cast(display_rect->width()); + const u32 draw_height = static_cast(display_rect->height()); // If internal res, scale the computed draw rectangle to the internal res. // We re-use the draw rect because it's already been AR corrected.