diff --git a/src/drivers/Qt/ConsoleVideoConf.cpp b/src/drivers/Qt/ConsoleVideoConf.cpp index 6626fd75..739a2584 100644 --- a/src/drivers/Qt/ConsoleVideoConf.cpp +++ b/src/drivers/Qt/ConsoleVideoConf.cpp @@ -740,6 +740,7 @@ void ConsoleVideoConfDialog_t::aspectEnableChanged( int value ) aspectSelectLabel->hide(); aspectSelect->hide(); } + g_config->setOption ("SDL.ForceAspect", forceAspect); } //---------------------------------------------------- diff --git a/src/drivers/Qt/ConsoleViewerGL.cpp b/src/drivers/Qt/ConsoleViewerGL.cpp index 4f9ab7a5..cf489aba 100644 --- a/src/drivers/Qt/ConsoleViewerGL.cpp +++ b/src/drivers/Qt/ConsoleViewerGL.cpp @@ -103,6 +103,8 @@ ConsoleViewGL_t::ConsoleViewGL_t(QWidget *parent) g_config->getOption("SDL.XScale", &xscale); g_config->getOption("SDL.YScale", &yscale); + + g_config->getOption ("SDL.ForceAspect", &forceAspect); } } diff --git a/src/drivers/Qt/ConsoleViewerSDL.cpp b/src/drivers/Qt/ConsoleViewerSDL.cpp index 6c987809..1a3177ac 100644 --- a/src/drivers/Qt/ConsoleViewerSDL.cpp +++ b/src/drivers/Qt/ConsoleViewerSDL.cpp @@ -95,6 +95,8 @@ ConsoleViewSDL_t::ConsoleViewSDL_t(QWidget *parent) g_config->getOption("SDL.XScale", &xscale); g_config->getOption("SDL.YScale", &yscale); + + g_config->getOption ("SDL.ForceAspect", &forceAspect); } }