forked from len0rd/rockbox
Check USB before resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4266 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0b90ec4d9
commit
989123006c
1 changed files with 5 additions and 0 deletions
|
|
@ -550,6 +550,11 @@ static bool ask_resume(bool ask_once)
|
|||
lcd_double_height(false);
|
||||
#endif
|
||||
|
||||
if (usb_detect()) {
|
||||
usb_screen();
|
||||
return false;
|
||||
}
|
||||
|
||||
/* always resume? */
|
||||
if ( global_settings.resume == RESUME_ON )
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue