look for rockbox.gigabeat in /.rockbox/ first like other SWCODEC targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12573 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
97090863a6
commit
a7311331d5
1 changed files with 7 additions and 4 deletions
|
@ -254,11 +254,14 @@ load_rockbox:
|
|||
|
||||
loadbuffer = (unsigned char*) 0x100;
|
||||
buffer_size = (unsigned char*)0x400000 - loadbuffer;
|
||||
rc = load_raw_firmware(loadbuffer, "/rockbox.gigabeat", buffer_size);
|
||||
rc = load_raw_firmware(loadbuffer, "/.rockbox/rockbox.gigabeat", buffer_size);
|
||||
if(rc < EOK) {
|
||||
printf("Error!");
|
||||
printf("Can't load rockbox.gigabeat:");
|
||||
printf(strerror(rc));
|
||||
rc = load_raw_firmware(loadbuffer, "/rockbox.gigabeat", buffer_size);
|
||||
}
|
||||
if(rc < EOK) {
|
||||
printf("Error!");
|
||||
printf("Can't load rockbox.gigabeat:");
|
||||
printf(strerror(rc));
|
||||
} else {
|
||||
if(!show_bootsplash) {
|
||||
printf("Rockbox loaded.");
|
||||
|
|
Loading…
Reference in a new issue