summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 14:40:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 14:40:07 +0000
commit1c1915c0d120947ca04ae76e42dc513648a7ffa4 (patch)
treebbdbe7fe8c6168222356819c271cee2069169f21 /tools
parentdced47b1ff55c991b898a9ac9670027c08510c59 (diff)
downloadrockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.tar.gz
rockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.tar.bz2
rockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.zip
Add X5 support to scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9168 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/scramble.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 642080e699..e289fcdc24 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -72,7 +72,7 @@ void usage(void)
"\t-iaudio iAudio format\n"
"\t-add=X Rockbox generic \"add-up\" checksum format\n"
"\t (X values: h100, h120, h140, h300, ipco, nano, ipvd\n"
- "\t ip3g, ip4g, mini)\n"
+ "\t ip3g, ip4g, mini, x5)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -180,6 +180,8 @@ int main (int argc, char** argv)
modelnum = 8;
else if(!strcmp(&argv[1][5], "mini"))
modelnum = 9;
+ else if(!strcmp(&argv[1][5], "iax5"))
+ modelnum = 10;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;