summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-01-16 00:55:03 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-01-16 00:55:03 +0000
commit89d2039367279aece429b1e86be263578a763a3d (patch)
treedb1612152d22522d37c20085c5b0def32dbc84f5
parentc9a97763ef9aadf9d662b0f0ffbdab1f783b6a5b (diff)
downloadrockbox-89d2039367279aece429b1e86be263578a763a3d.zip
rockbox-89d2039367279aece429b1e86be263578a763a3d.tar.gz
rockbox-89d2039367279aece429b1e86be263578a763a3d.tar.bz2
rockbox-89d2039367279aece429b1e86be263578a763a3d.tar.xz
Temporarily removed resume settings, since they crash! I need to look at it, but first I need to sleep.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4246 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 1663929..2e9518a 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -353,12 +353,14 @@ int settings_save( void )
((global_settings.avc & 0x03) |
((global_settings.channel_config & 0x07) << 2));
+#if 0
*((short*)(&config_block[0x12])) = global_settings.resume_index;
*((short*)(&config_block[0x14])) = global_settings.resume_first_index;
*((int*)(&config_block[0x16])) = global_settings.resume_offset;
DEBUGF( "+Resume index %X offset %X\n",
global_settings.resume_index,
global_settings.resume_offset );
+#endif
config_block[0x1a] = (unsigned char)global_settings.disk_spindown;
config_block[0x1b] = (unsigned char)
@@ -370,7 +372,9 @@ int settings_save( void )
(global_settings.flip_display ? 0x40 : 0) |
(global_settings.rec_editable?0x80:0);
+#if 0
*((int*)(&config_block[0x1d])) = global_settings.resume_seed;
+#endif
config_block[0x21] = (unsigned char)
((global_settings.repeat_mode & 3) |