Don't save mute setting.

Extremely annoying to start with lack of audio and have no idea what
causes it.
This commit is contained in:
Themaister 2014-01-09 23:10:54 +01:00
parent b6480dcbe2
commit 2605951f8b

View File

@ -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);