summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-07 23:21:19 +0100
committerbunnei <bunneidev@gmail.com>2015-03-07 23:21:19 +0100
commit9960c49c217d2c1ae202bdacd475c9a47cda39b9 (patch)
treea80e07b2ee63c3a081f3b3aec4eb45279b6f9b85 /src/citra_qt
parentMerge pull request #615 from Subv/services (diff)
downloadyuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar.gz
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar.bz2
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar.lz
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar.xz
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.tar.zst
yuzu-9960c49c217d2c1ae202bdacd475c9a47cda39b9.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/bootmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index 6514288a0..a040e75c1 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -155,6 +155,7 @@ GRenderWindow::GRenderWindow(QWidget* parent) : QWidget(parent), emu_thread(this
child = new GGLWidgetInternal(fmt, this);
QBoxLayout* layout = new QHBoxLayout(this);
+
resize(VideoCore::kScreenTopWidth, VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight);
layout->addWidget(child);
layout->setMargin(0);
@@ -234,7 +235,7 @@ void GRenderWindow::OnFramebufferSizeChanged()
unsigned height = child->QPaintDevice::height();
#endif
- NotifyFramebufferSizeChanged(std::make_pair(width, height));
+ NotifyFramebufferLayoutChanged(EmuWindow::FramebufferLayout::DefaultScreenLayout(width, height));
}
void GRenderWindow::BackupGeometry()