citra_qt/bootmanager.cpp: Fix scaling on QT with SW rasteriser (#6424)

This commit is contained in:
SachinVin 2023-04-08 21:28:03 +05:30 committed by GitHub
parent e4e9fb4aed
commit 563c77154e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};