From 228d62dd18906eaef814ec63cf888b30a94cd1c8 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 24 Jan 2007 02:19:22 +0000 Subject: 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 --- apps/filetree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/filetree.c') diff --git a/apps/filetree.c b/apps/filetree.c index cd020d0..10174db 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -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; } -- cgit v1.1