Skip to content

Commit

Permalink
Libretro: Fix changing the enable audio setting at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Nov 21, 2024
1 parent b324a5b commit 1c5c03f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libretro_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 1c5c03f

Please sign in to comment.