summaryrefslogtreecommitdiffstats
path: root/tools/mkboot.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-11-18 23:00:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-11-18 23:00:40 +0000
commitcff2a77a0fcaacd73803fd1a63ef6c644ea826fd (patch)
tree021900c305fa956c61a0b33e0f47a99b8a782d82 /tools/mkboot.c
parentd06bd609e039eebef40a3480bd2c2f9d8f9eef84 (diff)
downloadrockbox-cff2a77a0fcaacd73803fd1a63ef6c644ea826fd.tar.gz
rockbox-cff2a77a0fcaacd73803fd1a63ef6c644ea826fd.tar.bz2
rockbox-cff2a77a0fcaacd73803fd1a63ef6c644ea826fd.zip
Ooops, broke the H1x0 mkboot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/mkboot.c')
-rw-r--r--tools/mkboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkboot.c b/tools/mkboot.c
index df23687006..4fd99e2ccd 100644
--- a/tools/mkboot.c
+++ b/tools/mkboot.c
@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
fseek(f, 0, SEEK_SET);
- i = fread(image+0x220 + 0x3f0000, 1, len, f);
+ i = fread(image+0x220 + origin, 1, len, f);
if(i < len) {
perror(bootfile);
exit(1);