summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-09-16 10:11:41 +0000
committerDave Chapman <dave@dchapman.com>2009-09-16 10:11:41 +0000
commita2c9440eed80157c9d3af5af34adce4bc991bbeb (patch)
treec4d60825fc6525d2e57f1c0734ad8601ca14ec02 /tools
parent98f5c30b05865738ae026e1ea7e4d55082577e61 (diff)
downloadrockbox-a2c9440eed80157c9d3af5af34adce4bc991bbeb.tar.gz
rockbox-a2c9440eed80157c9d3af5af34adce4bc991bbeb.tar.bz2
rockbox-a2c9440eed80157c9d3af5af34adce4bc991bbeb.zip
Implement -add for 2nd gen Nano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22701 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 ce06523db5..51f672bcd0 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -125,7 +125,7 @@ void usage(void)
"\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
printf("\t 9200, 1630, ldax, m200, c100, clip, e2v2, m2v4,\n"
"\t fuze, c2v2, clv2, y820, y920, y925, x747, 747p, \n"
- "\t x777)\n");
+ "\t x777, nn2g)\n");
printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -314,6 +314,8 @@ int main (int argc, char** argv)
modelnum = 60;
else if (!strcmp(&argv[1][5], "x777"))
modelnum = 61;
+ else if (!strcmp(&argv[1][5], "nn2g")) /* iPod Nano 2nd Gen */
+ modelnum = 62;
else if (!strcmp(&argv[1][5], "x767"))
modelnum = 64;
else {