diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-03 12:17:56 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-03 12:17:56 +0000 |
commit | 6fd40a57b81484a57f1c5a8ddbd48855a89e660f (patch) | |
tree | 59609082705b4b825ca472a4f65d0ce04bab2925 /utils/jz4740_tools/HXFsplit.c | |
parent | ab498e547b9c96bc2ae662cdc4c5fdb5d2db1f35 (diff) | |
download | rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.tar.gz rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.zip |
Jz4740 Tools:
* update Makefile
* add README
* update svn properties
* fix small mistakes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/jz4740_tools/HXFsplit.c')
-rw-r--r--[-rwxr-xr-x] | utils/jz4740_tools/HXFsplit.c | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/utils/jz4740_tools/HXFsplit.c b/utils/jz4740_tools/HXFsplit.c index ede22170e4..d5e578625b 100755..100644 --- a/utils/jz4740_tools/HXFsplit.c +++ b/utils/jz4740_tools/HXFsplit.c | |||
@@ -1,6 +1,23 @@ | |||
1 | /* | 1 | /*************************************************************************** |
2 | Made by Maurus Cuelenaere | 2 | * __________ __ ___. |
3 | */ | 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2008 by Maurus Cuelenaere | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
4 | 21 | ||
5 | #include <stdio.h> | 22 | #include <stdio.h> |
6 | #include <stdlib.h> | 23 | #include <stdlib.h> |
@@ -43,7 +60,7 @@ static char* basepath(char* path) | |||
43 | #else | 60 | #else |
44 | *ptr2 = 0x2F; | 61 | *ptr2 = 0x2F; |
45 | #endif | 62 | #endif |
46 | *ptr2++; | 63 | ptr2++; |
47 | *ptr2 = 0; | 64 | *ptr2 = 0; |
48 | return (char*)tmp; | 65 | return (char*)tmp; |
49 | } | 66 | } |