diff options
Diffstat (limited to 'tools/scramble.c')
-rw-r--r-- | tools/scramble.c | 6 |
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; |