summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-07-16 08:48:16 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-07-16 08:48:16 +0000
commit761cd95f23e23aa99b4d7f6adfb295355318517a (patch)
treebae1b8b22d1dfcd0d54d036bff43e21dc850b8b7 /apps
parentd1de4f8d3856135e361d06369f1e8610658354df (diff)
downloadrockbox-761cd95f23e23aa99b4d7f6adfb295355318517a.tar.gz
rockbox-761cd95f23e23aa99b4d7f6adfb295355318517a.zip
Allow LBA-less partitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1364 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 8d3c170187..7e853556ac 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -126,7 +126,8 @@ void init(void)
126 panicf("disk: NULL"); 126 panicf("disk: NULL");
127 127
128 for ( i=0; i<4; i++ ) { 128 for ( i=0; i<4; i++ ) {
129 if ( pinfo[i].type == PARTITION_TYPE_FAT32 ) { 129 if ( pinfo[i].type == PARTITION_TYPE_FAT32 ||
130 pinfo[i].type == PARTITION_TYPE_FAT32_LBA ) {
130 rc = fat_mount(pinfo[i].start); 131 rc = fat_mount(pinfo[i].start);
131 if(rc) 132 if(rc)
132 panicf("mount: %d",rc); 133 panicf("mount: %d",rc);