diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-08-09 15:23:32 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-09 15:23:32 +0000 |
| commit | 5853ef3738d61c97d042b285ab3601d140ebc325 (patch) | |
| tree | 15aef4fc1f3bf07bc357b4c559081f2b2f2f4dd2 | |
| parent | 8761231ee14404b0e51da64228ec628ffa73cfe4 (diff) | |
| download | rockbox-5853ef3738d61c97d042b285ab3601d140ebc325.zip rockbox-5853ef3738d61c97d042b285ab3601d140ebc325.tar.gz rockbox-5853ef3738d61c97d042b285ab3601d140ebc325.tar.bz2 rockbox-5853ef3738d61c97d042b285ab3601d140ebc325.tar.xz | |
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.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/main.c b/apps/main.c index e7098b9..895f79a 100644 --- a/apps/main.c +++ b/apps/main.c @@ -132,13 +132,8 @@ void init(void) panicf("disk: NULL"); for ( i=0; i<4; i++ ) { - if ( pinfo[i].type == PARTITION_TYPE_FAT32 || - pinfo[i].type == PARTITION_TYPE_FAT32_LBA ) { - rc = fat_mount(pinfo[i].start); - if(rc) - panicf("mount: %d",rc); + if (!fat_mount(pinfo[i].start)) break; - } } if ( i==4 ) { DEBUGF("No partition found, trying to mount sector 0.\n"); |