summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-10 21:55:35 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 00:03:02 +0200
commitac57f96838b53e574477d13bf41bc54711a70c21 (patch)
treedcd4c1d96593458c59375c2160c3ffaeb27329e5 /tools/scramble.c
parentf22ccabac339925dbb004bd035307480fca9d2f7 (diff)
downloadrockbox-ac57f96838b53e574477d13bf41bc54711a70c21.tar.gz
rockbox-ac57f96838b53e574477d13bf41bc54711a70c21.zip
Add support for the NWZ-A860
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 935eae002f..5ff45b3e44 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -130,7 +130,7 @@ void usage(void)
130 "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n" 130 "\t 747p, x777, nn2g, m244, cli+, fuz2, hd20, hd30,\n"
131 "\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n" 131 "\t ip6g, rk27, clzp, zxf2, zxf3, fuz+, e370, e360,\n"
132 "\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n" 132 "\t zxfi, zmoz, zen, zenv, ypz5, zxfs, e450, e460,\n"
133 "\t e470,e580,a10,a20)\n"); 133 "\t e470,e580,a10,a20,a860)\n");
134 printf("\nNo option results in Archos standard player/recorder format.\n"); 134 printf("\nNo option results in Archos standard player/recorder format.\n");
135 135
136 exit(1); 136 exit(1);
@@ -395,6 +395,8 @@ int main (int argc, char** argv)
395 modelnum = 104; 395 modelnum = 104;
396 else if (!strcmp(&argv[1][5], "a20")) /* Sony NW-A20 series */ 396 else if (!strcmp(&argv[1][5], "a20")) /* Sony NW-A20 series */
397 modelnum = 106; 397 modelnum = 106;
398 else if (!strcmp(&argv[1][5], "a860")) /* Sony NWZ-A860 series */
399 modelnum = 107;
398 else { 400 else {
399 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 401 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
400 return 2; 402 return 2;