diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-22 16:39:17 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-22 16:39:17 +0000 |
commit | c132c486771cd72ef7aea70eeb8876a6481efbc6 (patch) | |
tree | 9d2b4a2030231d5d2b6842a0715443cb8395eaa8 /apps/settings.c | |
parent | e0d88a11d9e0d8c29fc1cea507f7ebdf1e07bf7a (diff) | |
download | rockbox-c132c486771cd72ef7aea70eeb8876a6481efbc6.tar.gz rockbox-c132c486771cd72ef7aea70eeb8876a6481efbc6.zip |
Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 060f88fbc0..56d176264d 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -209,7 +209,8 @@ int settings_save( void ) | |||
209 | 209 | ||
210 | rtc_config_block[0xe] = (unsigned char) | 210 | rtc_config_block[0xe] = (unsigned char) |
211 | ((global_settings.playlist_shuffle & 1) | | 211 | ((global_settings.playlist_shuffle & 1) | |
212 | ((global_settings.mp3filter & 1) << 1)); | 212 | ((global_settings.mp3filter & 1) << 1) | |
213 | ((global_settings.sort_case & 1) << 2)); | ||
213 | 214 | ||
214 | rtc_config_block[0xf] = (unsigned char) | 215 | rtc_config_block[0xf] = (unsigned char) |
215 | ((global_settings.scroll_speed << 3) | | 216 | ((global_settings.scroll_speed << 3) | |
@@ -266,6 +267,7 @@ void settings_load(void) | |||
266 | if (rtc_config_block[0xe] != 0xFF) { | 267 | if (rtc_config_block[0xe] != 0xFF) { |
267 | global_settings.playlist_shuffle = rtc_config_block[0xe] & 1; | 268 | global_settings.playlist_shuffle = rtc_config_block[0xe] & 1; |
268 | global_settings.mp3filter = (rtc_config_block[0xe] >> 1) & 1; | 269 | global_settings.mp3filter = (rtc_config_block[0xe] >> 1) & 1; |
270 | global_settings.sort_case = (rtc_config_block[0xe] >> 2) & 1; | ||
269 | } | 271 | } |
270 | 272 | ||
271 | c = rtc_config_block[0xf] >> 3; | 273 | c = rtc_config_block[0xf] >> 3; |
@@ -303,6 +305,7 @@ void settings_reset(void) { | |||
303 | global_settings.backlight = DEFAULT_BACKLIGHT_SETTING; | 305 | global_settings.backlight = DEFAULT_BACKLIGHT_SETTING; |
304 | global_settings.wps_display = DEFAULT_WPS_DISPLAY; | 306 | global_settings.wps_display = DEFAULT_WPS_DISPLAY; |
305 | global_settings.mp3filter = true; | 307 | global_settings.mp3filter = true; |
308 | global_settings.sort_case = false; | ||
306 | global_settings.playlist_shuffle = false; | 309 | global_settings.playlist_shuffle = false; |
307 | global_settings.total_boots = 0; | 310 | global_settings.total_boots = 0; |
308 | global_settings.total_uptime = 0; | 311 | global_settings.total_uptime = 0; |