summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-09 15:23:32 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-09 15:23:32 +0000
commit5853ef3738d61c97d042b285ab3601d140ebc325 (patch)
tree15aef4fc1f3bf07bc357b4c559081f2b2f2f4dd2
parent8761231ee14404b0e51da64228ec628ffa73cfe4 (diff)
downloadrockbox-5853ef3738d61c97d042b285ab3601d140ebc325.tar.gz
rockbox-5853ef3738d61c97d042b285ab3601d140ebc325.zip
Ignore partition types, just try to mount all partitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1648 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/main.c b/apps/main.c
index e7098b979a..895f79af3b 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -132,13 +132,8 @@ void init(void)
132 panicf("disk: NULL"); 132 panicf("disk: NULL");
133 133
134 for ( i=0; i<4; i++ ) { 134 for ( i=0; i<4; i++ ) {
135 if ( pinfo[i].type == PARTITION_TYPE_FAT32 || 135 if (!fat_mount(pinfo[i].start))
136 pinfo[i].type == PARTITION_TYPE_FAT32_LBA ) {
137 rc = fat_mount(pinfo[i].start);
138 if(rc)
139 panicf("mount: %d",rc);
140 break; 136 break;
141 }
142 } 137 }
143 if ( i==4 ) { 138 if ( i==4 ) {
144 DEBUGF("No partition found, trying to mount sector 0.\n"); 139 DEBUGF("No partition found, trying to mount sector 0.\n");