From 563c77154ed2e41d3e916dfe4d62a68cdb47e80e Mon Sep 17 00:00:00 2001 From: SachinVin <26602104+SachinVin@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:28:03 +0530 Subject: [PATCH] citra_qt/bootmanager.cpp: Fix scaling on QT with SW rasteriser (#6424) --- src/citra_qt/bootmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index e99f898ab..b13169bcd 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -296,7 +296,7 @@ struct SoftwareRenderWidget : public RenderWidget { const auto draw_screen = [&](int fb_id) { const auto rect = fb_id == 0 ? layout.top_screen : layout.bottom_screen; - const QImage screen = LoadFramebuffer(fb_id); + const QImage screen = LoadFramebuffer(fb_id).scaled(rect.GetWidth(), rect.GetHeight()); painter.drawImage(rect.left, rect.top, screen); };