diff --git a/src/platform/qt/GBAApp.cpp b/src/platform/qt/GBAApp.cpp index 28f09f0f6..bf9c30cdc 100644 --- a/src/platform/qt/GBAApp.cpp +++ b/src/platform/qt/GBAApp.cpp @@ -22,6 +22,7 @@ GBAApp::GBAApp(int& argc, char* argv[]) GBAConfigLoad(&config); GBAConfigMapGeneralOpts(&config, PORT, &m_opts); + GBAConfigMapGraphicsOpts(&config, PORT, &m_opts); ConfigurationDeinit(&config); diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index c678b1cc7..545463437 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -126,6 +126,10 @@ void Window::setOptions(GBAOptions* opts) { if (opts->audioBuffers) { emit audioBufferSamplesChanged(opts->audioBuffers); } + + if (opts->width && opts->height) { + m_screenWidget->setSizeHint(QSize(opts->width, opts->height)); + } } void Window::selectROM() {