diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-07-16 08:48:16 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-07-16 08:48:16 +0000 |
commit | 761cd95f23e23aa99b4d7f6adfb295355318517a (patch) | |
tree | bae1b8b22d1dfcd0d54d036bff43e21dc850b8b7 /apps | |
parent | d1de4f8d3856135e361d06369f1e8610658354df (diff) | |
download | rockbox-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.c | 3 |
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); |