summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 17:12:20 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-09-30 17:12:20 +0000
commit3f9a9a1a01df7c73b569232f96a4170ed8910ea2 (patch)
treece63caadc9db19950436cf48c3fdf484329b3d59 /tools/scramble.c
parent34308c152206b9c476bf241a93978c0bb624e316 (diff)
Fix the bootloader, and give the M:Robe it's own scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index ad128835c5..ba0eda338a 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -107,7 +107,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)\n"
+ "\t c200, e200, giga, m500)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -249,8 +249,10 @@ int main (int argc, char** argv)
modelnum = 19;
else if(!strcmp(&argv[1][5], "c200"))
modelnum = 20;
- else if(!strcmp(&argv[1][5], "gigs"))
+ else if(!strcmp(&argv[1][5], "gigs"))
modelnum = 21;
+ else if(!strcmp(&argv[1][5], "m500"))
+ modelnum = 22;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;