mirror of https://github.com/mgba-emu/mgba.git
Qt: Copy volume and mute settings into core config (fixes #1194)
This commit is contained in:
parent
2d5bfe3321
commit
12cf61f9fc
|
@ -247,6 +247,8 @@ void CoreController::loadConfig(ConfigController* config) {
|
|||
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();
|
||||
|
|
Loading…
Reference in New Issue