1
0
Fork 0
forked from len0rd/rockbox

If credits.rock isnt loadable manually show the logo and version.

Hopefully fixes FS#6799


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13124 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-12 12:14:54 +00:00
parent 8b9df97d96
commit c939774269
2 changed files with 12 additions and 2 deletions

View file

@ -27,6 +27,7 @@
#include "settings.h"
#include "powermgmt.h"
#include "menu.h"
#include "misc.h"
#include "settings_menu.h"
#include "exported_menus.h"
#include "tree.h"
@ -115,7 +116,14 @@ MAKE_MENU(manage_settings, ID2P(LANG_MANAGE_MENU), NULL, Icon_Config,
static bool show_credits(void)
{
plugin_load(PLUGIN_DIR "/credits.rock",NULL);
if (plugin_load(PLUGIN_DIR "/credits.rock",NULL) != PLUGIN_OK)
{
/* show the rockbox logo and version untill a button is pressed */
action_signalscreenchange();
show_logo();
get_action(CONTEXT_STD, TIMEOUT_BLOCK);
action_signalscreenchange();
}
return false;
}