diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-09-19 12:28:21 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-09-19 12:28:21 +0000 |
commit | 82e4af6c8e386f75e9812df99294a9f4eccafa1e (patch) | |
tree | 3bcb514465f1e6127ba716c72934d6c4ac664650 /rbutil/sansapatcher/sansapatcher.c | |
parent | 15cf32b517ef6cb69b0263b977ca5fc783a25eb6 (diff) | |
download | rockbox-82e4af6c8e386f75e9812df99294a9f4eccafa1e.tar.gz rockbox-82e4af6c8e386f75e9812df99294a9f4eccafa1e.zip |
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/sansapatcher.c')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.c | 5 |
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) | |||
335 | 335 | ||
336 | /* Check partition layout */ | 336 | /* Check partition layout */ |
337 | 337 | ||
338 | if (((sansa->pinfo[0].type != 0x0b) && (sansa->pinfo[0].type != 0x0c)) || | 338 | if (((sansa->pinfo[0].type != 0x06) && |
339 | (sansa->pinfo[0].type != 0x0b) && | ||
340 | (sansa->pinfo[0].type != 0x0c) && | ||
341 | (sansa->pinfo[0].type != 0x0e)) || | ||
339 | (sansa->pinfo[1].type != 0x84) || | 342 | (sansa->pinfo[1].type != 0x84) || |
340 | (sansa->pinfo[2].type != 0x00) || | 343 | (sansa->pinfo[2].type != 0x00) || |
341 | (sansa->pinfo[3].type != 0x00)) { | 344 | (sansa->pinfo[3].type != 0x00)) { |