Libretro: Fix changing the enable audio setting at runtime

This commit is contained in:
wheremyfoodat
2024-11-21 22:15:55 +02:00
committed by GitHub
parent b324a5b9e2
commit 1c5c03f8d4

View File

@@ -204,6 +204,8 @@ static void configUpdate() {
config.lightShadergenThreshold = fetchVariableRange("panda3ds_ubershader_lighting_override_threshold", 1, 8);
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();
}