diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-08-27 16:21:19 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-08-27 16:21:19 +0000 |
commit | 463b3ed8b2630d1b9d656dd2a52bbcbd429b4c08 (patch) | |
tree | 622e101cddcdad0360625efc647cecbd538fb7dd /tools/scramble.c | |
parent | 3aeb7fad9a31666f5762644ebcf2725b15b9241f (diff) | |
download | rockbox-463b3ed8b2630d1b9d656dd2a52bbcbd429b4c08.tar.gz rockbox-463b3ed8b2630d1b9d656dd2a52bbcbd429b4c08.zip |
Initial framework for the Sandisk Sansa Clip Zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r-- | tools/scramble.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c index 683973321c..126fa7baa7 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -126,7 +126,7 @@ void usage(void) | |||
126 | printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" | 126 | printf("\t 9200, 1630, 6330, ldax, m200, c100, clip, e2v2,\n" |
127 | "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" | 127 | "\t m2v4, fuze, c2v2, clv2, y820, y920, y925, x747,\n" |
128 | "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n" | 128 | "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n" |
129 | "\t ip6g, rk27)\n"); | 129 | "\t ip6g, rk27, clzp)\n"); |
130 | printf("\nNo option results in Archos standard player/recorder format.\n"); | 130 | printf("\nNo option results in Archos standard player/recorder format.\n"); |
131 | 131 | ||
132 | exit(1); | 132 | exit(1); |
@@ -339,6 +339,8 @@ int main (int argc, char** argv) | |||
339 | modelnum = 72; | 339 | modelnum = 72; |
340 | else if (!strcmp(&argv[1][5], "rk27")) /* rockchip 27xx generic */ | 340 | else if (!strcmp(&argv[1][5], "rk27")) /* rockchip 27xx generic */ |
341 | modelnum = 73; | 341 | modelnum = 73; |
342 | else if (!strcmp(&argv[1][5], "clzp")) /* Sansa Clip Zip */ | ||
343 | modelnum = 79; | ||
342 | else { | 344 | else { |
343 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 345 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
344 | return 2; | 346 | return 2; |