diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-14 11:56:50 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-14 11:56:50 +0000 |
commit | 9928e3418f67fe6d2f82292ddbddcf56ae20b8f6 (patch) | |
tree | 397b13a537a476feb77b7d052250b98055924aec /apps/onplay.c | |
parent | 0928cdf074c8991f470fa0d96e6d4f828998b643 (diff) |
Another major skin backend update/hopefully bugfix:
Skins are now more self contained in the skin manager which in the future might allow on demand skin loading (i.e smaller skin buffers)
Skin backdrops are also managed more intelegently (fixes a bug where you can get a crazy backdrop loaded if a .sbs fails to load)
the rockbox_default rescue theme is now called rockbox_failsafe to better express what it actually is.
This commit hopefully/maybe fixes the heavily reported data aborts, so please check if you are getting them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index f5b8476492..92864f5f16 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -1017,7 +1017,7 @@ MENUITEM_FUNCTION(add_to_faves_item, MENU_FUNC_USEPARAM, ID2P(LANG_ADD_TO_FAVES) #if LCD_DEPTH > 1 static bool set_backdrop(void) { - /* load the image */ + /* load the image if(sb_set_backdrop(SCREEN_MAIN, selected_file)) { splash(HZ, str(LANG_BACKDROP_LOADED)); set_file(selected_file, (char *)global_settings.backdrop_file, @@ -1026,7 +1026,10 @@ static bool set_backdrop(void) } else { splash(HZ, str(LANG_BACKDROP_FAILED)); return false; - } + }*/ + set_file(selected_file, (char *)global_settings.backdrop_file, + MAX_FILENAME); + skin_backdrop_load_setting(); return true; } MENUITEM_FUNCTION(set_backdrop_item, 0, ID2P(LANG_SET_AS_BACKDROP), |