forked from len0rd/rockbox
fix FS#12295
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30614 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a1d3a1d143
commit
4f7a73aad8
4 changed files with 15 additions and 3 deletions
|
|
@ -38,6 +38,7 @@
|
|||
#include "led.h"
|
||||
#include "appevents.h"
|
||||
#include "usb_screen.h"
|
||||
#include "skin_engine/skin_engine.h"
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#include "bitmaps/usblogo.h"
|
||||
|
|
@ -265,8 +266,11 @@ void gui_usb_screen_run(bool early_usb)
|
|||
/* The font system leaves the .fnt fd's open, so we need for force close them all */
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
font_unload(global_status.font_id[i]);
|
||||
// FIXME skin_font_init(); /* unload all the skin fonts */
|
||||
global_status.font_id[i] = -1;
|
||||
}
|
||||
skin_unload_all();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue