all repos — mgba @ 665ecc03a186d3ea59542b2a71a54b47ee94b9d5

mGBA Game Boy Advance Emulator

Qt: Only dynamically reset video scale if a game is running
Vicki Pfau vi@endrift.com
Wed, 22 Jan 2020 18:19:43 -0800
commit

665ecc03a186d3ea59542b2a71a54b47ee94b9d5

parent

4b3a2f22a00b669d7f10611663593de96a988f19

2 files changed, 8 insertions(+), 2 deletions(-)

jump to
M CHANGESCHANGES

@@ -1,3 +1,7 @@

+0.8.1: (Future) +Other fixes: + - Qt: Only dynamically reset video scale if a game is running + 0.8.0: (2020-01-21) Features: - Improved logging configuration
M src/platform/qt/DisplayGL.cppsrc/platform/qt/DisplayGL.cpp

@@ -356,8 +356,10 @@ if (!m_context) {

return; } - mCore* core = m_context->thread()->core; - core->reloadConfigOption(core, "videoScale", NULL); + if (m_started) { + mCore* core = m_context->thread()->core; + core->reloadConfigOption(core, "videoScale", NULL); + } QSize size = m_context->screenDimensions(); m_backend->setDimensions(m_backend, size.width(), size.height());