diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:19:34 +0000 |
commit | aa0f4a4bbe370032d8166628f456709be1330118 (patch) | |
tree | 597c91fb16493881d7a281ef3c28e274a899022b /apps/main.c | |
parent | f323300b82aa945dd4cadb20d8d7e23a6602ef49 (diff) |
FS#12273 - use buflib for font storage. thanks to the testers :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index 07a8bba44c..ae666adc06 100644 --- a/apps/main.c +++ b/apps/main.c @@ -336,6 +336,7 @@ static void init_tagcache(void) static void init(void) { + int i; system_init(); core_allocator_init(); kernel_init(); @@ -347,7 +348,11 @@ static void init(void) #ifdef HAVE_REMOTE_LCD lcd_remote_init(); #endif +#ifdef HAVE_LCD_BITMAP + FOR_NB_SCREENS(i) + global_status.font_id[i] = FONT_SYSFIXED; font_init(); +#endif show_logo(); button_init(); powermgmt_init(); @@ -451,7 +456,11 @@ static void init(void) #ifdef HAVE_REMOTE_LCD lcd_remote_init(); #endif +#ifdef HAVE_LCD_BITMAP + FOR_NB_SCREENS(rc) + global_status.font_id[rc] = FONT_SYSFIXED; font_init(); +#endif CHART(">show_logo"); show_logo(); |