all repos — mgba @ 12cf61f9fc0f3a38104d69bd61964d0099e136b3

mGBA Game Boy Advance Emulator

Qt: Copy volume and mute settings into core config (fixes #1194)
Vicki Pfau vi@endrift.com
Mon, 01 Oct 2018 12:15:16 -0700
commit

12cf61f9fc0f3a38104d69bd61964d0099e136b3

parent

2d5bfe33211e897a78e28283797376f752764010

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

jump to
M src/platform/qt/CoreController.cppsrc/platform/qt/CoreController.cpp

@@ -247,6 +247,8 @@ m_autoload = config->getOption("autoload", true).toInt();

m_autofireThreshold = config->getOption("autofireThreshold", m_autofireThreshold).toInt(); m_fastForwardVolume = config->getOption("fastForwardVolume", -1).toInt(); m_fastForwardMute = config->getOption("fastForwardMute", -1).toInt(); + mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "volume"); + mCoreConfigCopyValue(&m_threadContext.core->config, config->config(), "mute"); mCoreLoadForeignConfig(m_threadContext.core, config->config()); if (hasStarted()) { updateFastForward();