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

@ -880,6 +880,7 @@ int show_logo( void )
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
LCD_HEIGHT-font_h, (unsigned char *)version);
lcd_setfont(FONT_UI);
#else
char *rockbox = " ROCKbox!";
@ -898,7 +899,8 @@ int show_logo( void )
lcd_remote_setfont(FONT_SYSFIXED);
lcd_remote_getstringsize((unsigned char *)"A", &font_w, &font_h);
lcd_remote_putsxy((LCD_REMOTE_WIDTH/2) - ((strlen(version)*font_w)/2),
LCD_REMOTE_HEIGHT-font_h, (unsigned char *)version);
LCD_REMOTE_HEIGHT-font_h, (unsigned char *)version);
lcd_setfont(FONT_UI);
lcd_remote_update();
#endif