summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2007-09-19 12:28:21 +0000
committerBjörn Stenberg <bjorn@haxx.se>2007-09-19 12:28:21 +0000
commit82e4af6c8e386f75e9812df99294a9f4eccafa1e (patch)
tree3bcb514465f1e6127ba716c72934d6c4ac664650 /rbutil/sansapatcher
parent15cf32b517ef6cb69b0263b977ca5fc783a25eb6 (diff)
Allow FAT16 partitions (for c200)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14753 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/sansapatcher.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.c b/rbutil/sansapatcher/sansapatcher.c
index c4e0dc0170..d1c12852a7 100644
--- a/rbutil/sansapatcher/sansapatcher.c
+++ b/rbutil/sansapatcher/sansapatcher.c
@@ -335,7 +335,10 @@ int is_e200(struct sansa_t* sansa)
/* Check partition layout */
- if (((sansa->pinfo[0].type != 0x0b) && (sansa->pinfo[0].type != 0x0c)) ||
+ if (((sansa->pinfo[0].type != 0x06) &&
+ (sansa->pinfo[0].type != 0x0b) &&
+ (sansa->pinfo[0].type != 0x0c) &&
+ (sansa->pinfo[0].type != 0x0e)) ||
(sansa->pinfo[1].type != 0x84) ||
(sansa->pinfo[2].type != 0x00) ||
(sansa->pinfo[3].type != 0x00)) {