From 5853ef3738d61c97d042b285ab3601d140ebc325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Fri, 9 Aug 2002 15:23:32 +0000 Subject: Ignore partition types, just try to mount all partitions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1648 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 7 +------ 1 file changed, 1 insertion(+), 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"); -- cgit v1.1