1
0
Fork 0
forked from len0rd/rockbox

Fix a bug in the uclcopy loop, plus add a warning to make sure people know the untested status of this code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18770 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-10-11 12:51:13 +00:00
parent 85600e629b
commit d2e551f6df
2 changed files with 5 additions and 1 deletions

View file

@ -44,7 +44,7 @@ start:
uclcopy:
ldrb r4, [r0], #-1
strb r4, [r3], #-1
cmp r2, r3
cmp r2, r0
bne uclcopy
add r5, r2, #2 /* r5 is entry point of copy of uclunpack */

View file

@ -471,6 +471,10 @@ int main(int argc, char* argv[])
close(fdout);
fprintf(stderr," *****************************************************************************\n");
fprintf(stderr," *** THIS CODE IS UNTESTED - DO NOT USE IF YOU CAN NOT RECOVER YOUR DEVICE ***\n");
fprintf(stderr," *****************************************************************************\n");
return 0;
}