mirror of https://github.com/mgba-emu/mgba.git
Qt: Make mute menu option also toggle fast-forward mute (fixes #1424)
This commit is contained in:
parent
053c139af5
commit
7246055d90
2
CHANGES
2
CHANGES
|
@ -2,6 +2,8 @@
|
||||||
Other fixes:
|
Other fixes:
|
||||||
- Switch: Fix threading-related crash on second launch
|
- Switch: Fix threading-related crash on second launch
|
||||||
- Qt: Fix FPS target maxing out at 59.727 (fixes mgba.io/i/1421)
|
- Qt: Fix FPS target maxing out at 59.727 (fixes mgba.io/i/1421)
|
||||||
|
Misc:
|
||||||
|
- Qt: Make mute menu option also toggle fast-forward mute (fixes mgba.io/i/1424)
|
||||||
|
|
||||||
0.7.2: (2019-05-25)
|
0.7.2: (2019-05-25)
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
|
|
|
@ -1439,6 +1439,7 @@ void Window::setupMenu(QMenuBar* menubar) {
|
||||||
ConfigOption* mute = m_config->addOption("mute");
|
ConfigOption* mute = m_config->addOption("mute");
|
||||||
QAction* muteAction = mute->addBoolean(tr("Mute"), avMenu);
|
QAction* muteAction = mute->addBoolean(tr("Mute"), avMenu);
|
||||||
mute->connect([this](const QVariant& value) {
|
mute->connect([this](const QVariant& value) {
|
||||||
|
m_config->setOption("fastForwardMute", static_cast<bool>(value.toInt()));
|
||||||
reloadConfig();
|
reloadConfig();
|
||||||
}, this);
|
}, this);
|
||||||
m_config->updateOption("mute");
|
m_config->updateOption("mute");
|
||||||
|
|
Loading…
Reference in New Issue