forked from len0rd/rockbox
Allow usb connect in ask_resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
edf4d8ce0f
commit
bb3685edd8
1 changed files with 8 additions and 2 deletions
10
apps/tree.c
10
apps/tree.c
|
|
@ -492,8 +492,14 @@ bool ask_resume(void)
|
|||
#endif
|
||||
lcd_update();
|
||||
|
||||
if (button_get(true) == BUTTON_PLAY)
|
||||
return true;
|
||||
switch (button_get(true)) {
|
||||
case BUTTON_PLAY:
|
||||
return true;
|
||||
|
||||
case SYS_USB_CONNECTED:
|
||||
usb_screen();
|
||||
break;
|
||||
}
|
||||
|
||||
if ( global_settings.resume == RESUME_ASK_ONCE) {
|
||||
global_settings.resume_index = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue