diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-03 23:43:19 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-03 23:43:19 +0000 |
commit | 5b5e8b0bdf002e58d6e711fbdcba0891f4b21c43 (patch) | |
tree | e360cb6f413f64d6e0c831da40e2fc738db279b0 /tools/scramble.c | |
parent | 90bcefab687d8b368ce58d201ec52faf290e5069 (diff) |
Add D2 option to scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16505 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 6d69f9175e..ee731cfd0d 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -108,7 +108,7 @@ void usage(void) "\t-add=X Rockbox generic \"add-up\" checksum format\n" "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n" - "\t c200, e200, giga, gigs, m100, m500)\n" + "\t c200, e200, giga, gigs, m100, m500, d2)\n" "\nNo option results in Archos standard player/recorder format.\n"); exit(1); @@ -256,6 +256,8 @@ int main (int argc, char** argv) modelnum = 22; else if(!strcmp(&argv[1][5], "m100")) modelnum = 23; + else if(!strcmp(&argv[1][5], "d2")) + modelnum = 24; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; |