From 70662fcad4173b166d0f2b2005e054c5473af78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Thu, 15 Aug 2002 13:49:12 +0000 Subject: [PATCH] Save volume changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1764 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/wps.c b/apps/wps.c index 91310aa409..c3f2f0a164 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -487,6 +487,7 @@ int wps_show(void) global_settings.volume = mpeg_sound_max(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); status_draw(); + settings_save(); break; #ifdef HAVE_RECORDER_KEYPAD @@ -506,6 +507,7 @@ int wps_show(void) global_settings.volume = mpeg_sound_min(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); status_draw(); + settings_save(); break; case BUTTON_LEFT | BUTTON_REPEAT: @@ -624,6 +626,7 @@ int wps_show(void) if(global_settings.volume < mpeg_sound_min(SOUND_VOLUME)) global_settings.volume = mpeg_sound_min(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); + settings_save(); break; case BUTTON_MENU | BUTTON_RIGHT: @@ -633,6 +636,7 @@ int wps_show(void) if(global_settings.volume > mpeg_sound_max(SOUND_VOLUME)) global_settings.volume = mpeg_sound_max(SOUND_VOLUME); mpeg_sound_set(SOUND_VOLUME, global_settings.volume); + settings_save(); break; case BUTTON_MENU | BUTTON_ON: