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:
Robert Kukla 2007-03-03 16:02:14 +00:00
parent 97090863a6
commit a7311331d5

View file

@ -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.");