forked from len0rd/rockbox
Split the system status variables out of global_settings and put them into a new struct global_status. Use status_save() if these need
saving. Added car_adapter_mode to the nvram settings, so nvram settings will be reset. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12101 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cdcffd9883
commit
228d62dd18
13 changed files with 115 additions and 83 deletions
|
|
@ -572,9 +572,9 @@ int ft_enter(struct tree_context* c)
|
|||
if ( play ) {
|
||||
/* the resume_index must always be the index in the
|
||||
shuffled list in case shuffle is enabled */
|
||||
global_settings.resume_index = start_index;
|
||||
global_settings.resume_offset = 0;
|
||||
settings_save();
|
||||
global_status.resume_index = start_index;
|
||||
global_status.resume_offset = 0;
|
||||
status_save();
|
||||
|
||||
start_wps = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue