1
0
Fork 0
forked from len0rd/rockbox

Removed clearing of resume info after STOP and USB.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3014 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-12-18 14:14:24 +00:00
parent eedd8845b1
commit 34fa62b300

View file

@ -770,7 +770,6 @@ bool dirbrowse(char *root)
#else #else
case BUTTON_STOP | BUTTON_REL: case BUTTON_STOP | BUTTON_REL:
#endif #endif
global_settings.resume_index = -1;
settings_save(); settings_save();
break; break;
@ -928,7 +927,6 @@ bool dirbrowse(char *root)
lcd_stop_scroll(); lcd_stop_scroll();
if ( wps_show() == SYS_USB_CONNECTED ) { if ( wps_show() == SYS_USB_CONNECTED ) {
reload_root = true; reload_root = true;
global_settings.resume_index = -1;
} }
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh; tree_max_on_screen = (LCD_HEIGHT - MARGIN_Y) / fh;