diff options
author | Robert Kukla <roolku@rockbox.org> | 2007-03-03 16:02:14 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2007-03-03 16:02:14 +0000 |
commit | a7311331d551cb09b0573a7935915de6dc54a4d1 (patch) | |
tree | 0ccc0bd41211fcd1f9c876fb451e4e27cdbcb67d | |
parent | 97090863a6c7a8e5c785a9bc185482c033e89197 (diff) |
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
-rw-r--r-- | bootloader/gigabeat.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bootloader/gigabeat.c b/bootloader/gigabeat.c index 11da73b39b..e4cf6f08fd 100644 --- a/bootloader/gigabeat.c +++ b/bootloader/gigabeat.c @@ -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."); |