summaryrefslogtreecommitdiffstats
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7f0de3e8ad..2814a6f57a 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -469,6 +469,9 @@ static bool settings_write_config(char* filename, int options)
if ((options == SETTINGS_SAVE_CHANGED) &&
!is_changed(i))
continue;
+ else if ((options == SETTINGS_SAVE_SOUND) &&
+ ((settings[i].flags&F_SOUNDSETTING) == 0))
+ continue;
else if ((options == SETTINGS_SAVE_THEME) &&
((settings[i].flags&F_THEMESETTING) == 0))
continue;
@@ -624,6 +627,7 @@ bool settings_save_config(int options)
folder = EQS_DIR;
break;
#endif
+ case SETTINGS_SAVE_SOUND:
default:
folder = ROCKBOX_DIR;
}