mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
85600e629b
commit
d2e551f6df
2 changed files with 5 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ start:
|
||||||
uclcopy:
|
uclcopy:
|
||||||
ldrb r4, [r0], #-1
|
ldrb r4, [r0], #-1
|
||||||
strb r4, [r3], #-1
|
strb r4, [r3], #-1
|
||||||
cmp r2, r3
|
cmp r2, r0
|
||||||
bne uclcopy
|
bne uclcopy
|
||||||
|
|
||||||
add r5, r2, #2 /* r5 is entry point of copy of uclunpack */
|
add r5, r2, #2 /* r5 is entry point of copy of uclunpack */
|
||||||
|
|
|
||||||
|
|
@ -471,6 +471,10 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
close(fdout);
|
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;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue