From 2605951f8b73a963beb01b3806b3ad43ce638848 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 9 Jan 2014 23:10:54 +0100 Subject: [PATCH] Don't save mute setting. Extremely annoying to start with lack of audio and have no idea what causes it. --- settings.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/settings.c b/settings.c index 3237152d05..c5063271bb 100644 --- a/settings.c +++ b/settings.c @@ -823,7 +823,6 @@ bool config_load_file(const char *path, bool set_defaults) CONFIG_GET_INT_EXTERN(console.sound.mode, "sound_mode"); #endif CONFIG_GET_INT_EXTERN(state_slot, "state_slot"); - CONFIG_GET_INT_EXTERN(audio_data.mute, "audio_mute"); CONFIG_GET_INT_EXTERN(console.screen.viewports.custom_vp.x, "custom_viewport_x"); CONFIG_GET_INT_EXTERN(console.screen.viewports.custom_vp.y, "custom_viewport_y"); @@ -1315,7 +1314,6 @@ bool config_save_file(const char *path) config_set_bool(conf, "config_save_on_exit", g_extern.config_save_on_exit); config_set_int(conf, "sound_mode", g_extern.console.sound.mode); config_set_int(conf, "state_slot", g_extern.state_slot); - config_set_int(conf, "audio_mute", g_extern.audio_data.mute); bool custom_bgm_enable_val = g_extern.lifecycle_state & (1ULL << MODE_AUDIO_CUSTOM_BGM_ENABLE); config_set_bool(conf, "custom_bgm_enable", custom_bgm_enable_val);