summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:08:28 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:08:28 +0000
commit95167e01773dcfe8e5c1b356cfa1ea4b3a55441b (patch)
tree8b5312c5f1d1ecc8231bf8e14a1eb1678474bf8a /tools/scramble.c
parent46b492861152af9b91d3ab65ef0e5e14c876c3fc (diff)
downloadrockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.tar.gz
rockbox-95167e01773dcfe8e5c1b356cfa1ea4b3a55441b.zip
Commit whole Creative Zen Vision:M target tree + all related firmware/
changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 7aad4bfa92..a17b16efaa 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -117,7 +117,7 @@ void usage(void)
117 "\t-add=X Rockbox generic \"add-up\" checksum format\n" 117 "\t-add=X Rockbox generic \"add-up\" checksum format\n"
118 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" 118 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
119 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" 119 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
120 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2)\n"); 120 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2, zvm)\n");
121 printf("\nNo option results in Archos standard player/recorder format.\n"); 121 printf("\nNo option results in Archos standard player/recorder format.\n");
122 122
123 exit(1); 123 exit(1);
@@ -269,6 +269,8 @@ int main (int argc, char** argv)
269 modelnum = 24; 269 modelnum = 24;
270 else if(!strcmp(&argv[1][5], "iam3")) 270 else if(!strcmp(&argv[1][5], "iam3"))
271 modelnum = 25; 271 modelnum = 25;
272 else if(!strcmp(&argv[1][5], "zvm"))
273 modelnum = 26;
272 else { 274 else {
273 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 275 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
274 return 2; 276 return 2;
@@ -344,6 +346,8 @@ int main (int argc, char** argv)
344 return zvm_encode(iname, oname, ZENVISION); 346 return zvm_encode(iname, oname, ZENVISION);
345 else if(!strcmp(&argv[1][10], "zenv")) 347 else if(!strcmp(&argv[1][10], "zenv"))
346 return zvm_encode(iname, oname, ZENV); 348 return zvm_encode(iname, oname, ZENV);
349 else if(!strcmp(&argv[1][10], "zen"))
350 return zvm_encode(iname, oname, ZEN);
347 else { 351 else {
348 fprintf(stderr, "unsupported Creative device: %s\n", &argv[1][10]); 352 fprintf(stderr, "unsupported Creative device: %s\n", &argv[1][10]);
349 return 2; 353 return 2;