forked from len0rd/rockbox
Unload fonts when entering UMS mode to close their file handles. Closes FS#11428
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27028 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36eeecf69b
commit
286ed6fab5
1 changed files with 5 additions and 0 deletions
|
|
@ -274,6 +274,8 @@ void gui_usb_screen_run(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i = FONT_UI; i < MAXFONTS; i++) font_unload(i);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
usb_screens_draw(usb_screen_vps_ar);
|
usb_screens_draw(usb_screen_vps_ar);
|
||||||
|
|
@ -314,6 +316,9 @@ void gui_usb_screen_run(void)
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
status_set_usb(false);
|
status_set_usb(false);
|
||||||
#endif /* HAVE_LCD_CHARCELLS */
|
#endif /* HAVE_LCD_CHARCELLS */
|
||||||
|
|
||||||
|
settings_apply(true);
|
||||||
|
|
||||||
FOR_NB_SCREENS(i)
|
FOR_NB_SCREENS(i)
|
||||||
{
|
{
|
||||||
screens[i].backlight_on();
|
screens[i].backlight_on();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue