1
0
Fork 0
forked from len0rd/rockbox

Gigabeat S: Make it a removable mass-storage device. Windows will assign a drive to only the main data partition by default. To access the bootloader partition instead, press 'Vol -' while it connects (in bootloader and firmware). Hopefully doesn't break anything for anyone.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28972 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2011-01-05 19:35:51 +00:00
parent f97b9f11e4
commit 89a7a8138e
5 changed files with 97 additions and 42 deletions

View file

@ -71,11 +71,15 @@ static bool pause_if_button_pressed(bool pre_usb)
if (pre_usb && !usb_plugged())
return false;
/* Exit if no button or only the menu (settings reset) button */
/* Exit if no button or only select buttons that have other
* functions */
switch (button)
{
case BUTTON_MENU:
case BUTTON_NONE:
case USB_BL_INSTALL_MODE_BTN:
if (!pre_usb)
break; /* Only before USB detect */
case BUTTON_MENU: /* Settings reset */
case BUTTON_NONE: /* Nothing pressed */
return true;
}