diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-10 07:47:57 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-10 07:47:57 +0000 |
commit | c4df53571c89945f920f82f7e25b6a3c0757d5d5 (patch) | |
tree | 0aec420a1fe8db6d7507db8e7d870cadaa569c16 /apps | |
parent | 29e28a3945b99ec19703848c8337ea406d99bfd6 (diff) |
really fix early usb this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/usb_screen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 454570bc3f..7d61435eb8 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c @@ -185,7 +185,7 @@ static void usb_screen_fix_viewports(struct screen *screen, } #endif -static void usb_screens_draw(struct usb_screen_vps_t *usb_screen_vps_ar) +static void usb_screens_draw(struct usb_screen_vps_t *usb_screen_vps_ar, bool early_usb) { int i; int usb_bars = VP_SB_ALLSCREENS; /* force statusbars */ @@ -244,7 +244,8 @@ static void usb_screens_draw(struct usb_screen_vps_t *usb_screen_vps_ar) usb_bars |= VP_SB_IGNORE_SETTING(i); } - viewportmanager_set_statusbar(usb_bars); + if (!early_usb) + viewportmanager_set_statusbar(usb_bars); } void gui_usb_screen_run(bool early_usb) @@ -281,7 +282,7 @@ void gui_usb_screen_run(bool early_usb) while (1) { - usb_screens_draw(usb_screen_vps_ar); + usb_screens_draw(usb_screen_vps_ar, early_usb); #ifdef SIMULATOR if (button_get_w_tmo(HZ/2)) break; |