diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-07-15 19:55:32 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-07-15 19:55:32 +0000 |
commit | 22771c2cba173d10fedbf3363f51ae91b15f08e5 (patch) | |
tree | 3b9540cd0e98ae4a150adfe9d9100d00be60d13d /apps | |
parent | 222ce15a2908cd1c079e93c137977f71441005c2 (diff) | |
download | rockbox-22771c2cba173d10fedbf3363f51ae91b15f08e5.tar.gz rockbox-22771c2cba173d10fedbf3363f51ae91b15f08e5.zip |
Trying to mount as raw disk if no partition is found
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1354 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 79feacf87e..8d3c170187 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -134,7 +134,10 @@ void init(void) | |||
134 | } | 134 | } |
135 | } | 135 | } |
136 | if ( i==4 ) { | 136 | if ( i==4 ) { |
137 | panicf("No FAT32 partition!"); | 137 | DEBUGF("No partition found, trying to mount sector 0.\n"); |
138 | rc = fat_mount(0); | ||
139 | if(rc) | ||
140 | panicf("No FAT32 partition!"); | ||
138 | } | 141 | } |
139 | 142 | ||
140 | settings_load(); | 143 | settings_load(); |