summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-18 22:30:59 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-18 22:30:59 +0000
commitc47988034fbd5d7de8fcda2a87224bdb0b5dcfe6 (patch)
treedeb96279c6952871b5c0f47ec25879bb73240afd /tools/scramble.c
parentefbd2b8d7a9295f1a5544717c1b86527cc27ac7b (diff)
downloadrockbox-c47988034fbd5d7de8fcda2a87224bdb0b5dcfe6.tar.gz
rockbox-c47988034fbd5d7de8fcda2a87224bdb0b5dcfe6.zip
Factor out scramble / mkboot functions to allow easier reuse (for rbutil).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17732 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index c02c78916b..5263809e41 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -287,8 +287,7 @@ int main (int argc, char** argv)
287 /* iRiver code dealt with in the iriver.c code */ 287 /* iRiver code dealt with in the iriver.c code */
288 iname = argv[2]; 288 iname = argv[2];
289 oname = argv[3]; 289 oname = argv[3];
290 iriver_encode(iname, oname, FALSE); 290 return (iriver_encode(iname, oname, FALSE) != 0) ? -1 : 0;
291 return 0;
292 } 291 }
293 else if(!strcmp(argv[1], "-gigabeat")) { 292 else if(!strcmp(argv[1], "-gigabeat")) {
294 /* iRiver code dealt with in the iriver.c code */ 293 /* iRiver code dealt with in the iriver.c code */