all repos — mgba @ 77ab0ef7703b9a8f0eaf9b43cbd6341bca12f773

mGBA Game Boy Advance Emulator

Qt: Fix fast forward mute being reset (fixes #1574)
Vicki Pfau vi@endrift.com
Mon, 11 Nov 2019 01:39:43 -0800
commit

77ab0ef7703b9a8f0eaf9b43cbd6341bca12f773

parent

4e03b15040737129648b532521b3547dfed7bba8

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -94,6 +94,7 @@ - GBA Video: Fix OpenGL renderer 512x512 backgrounds (fixes mgba.io/i/1572)

Other fixes: - 3DS: Fix screen darkening (fixes mgba.io/i/1562) - Vita: Fix analog controls (fixes mgba.io/i/1554) + - Qt: Fix fast forward mute being reset (fixes mgba.io/i/1574) 0.8 beta 1: (2019-10-20) - Initial beta for 0.8
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -1405,7 +1405,9 @@

ConfigOption* mute = m_config->addOption("mute"); mute->addBoolean(tr("Mute"), &m_actions, "av"); mute->connect([this](const QVariant& value) { - m_config->setOption("fastForwardMute", static_cast<bool>(value.toInt())); + if (value.toInt()) { + m_config->setOption("fastForwardMute", true); + } reloadConfig(); }, this); m_config->updateOption("mute");