mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Libretro: Fix changing the enable audio setting at runtime
This commit is contained in:
parent
b324a5b9e2
commit
1c5c03f8d4
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ static void configUpdate() {
|
||||||
config.lightShadergenThreshold = fetchVariableRange("panda3ds_ubershader_lighting_override_threshold", 1, 8);
|
config.lightShadergenThreshold = fetchVariableRange("panda3ds_ubershader_lighting_override_threshold", 1, 8);
|
||||||
config.discordRpcEnabled = false;
|
config.discordRpcEnabled = false;
|
||||||
|
|
||||||
|
// Handle any settings that might need the emulator core to be notified when they're changed, and save the config.
|
||||||
|
emulator->setAudioEnabled(config.audioEnabled);
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue