Added global_settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1116 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e743c45d98
commit
601924a777
2 changed files with 5 additions and 8 deletions
|
@ -24,6 +24,8 @@
|
|||
#include "panic.h"
|
||||
#include "debug.h"
|
||||
|
||||
user_settings_t global_settings;
|
||||
|
||||
/*
|
||||
* persist all runtime user settings to disk
|
||||
*/
|
||||
|
@ -97,8 +99,3 @@ void display_current_settings( user_settings_t *settings )
|
|||
settings = settings;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -64,6 +64,9 @@ void reload_all_settings( user_settings_t *settings );
|
|||
void reset_settings( user_settings_t *settings );
|
||||
void display_current_settings( user_settings_t *settings );
|
||||
|
||||
/* global settings */
|
||||
extern user_settings_t global_settings;
|
||||
|
||||
/* system defines */
|
||||
|
||||
#define DEFAULT_VOLUME_SETTING 70
|
||||
|
@ -78,6 +81,3 @@ void display_current_settings( user_settings_t *settings );
|
|||
|
||||
|
||||
#endif /* __SETTINGS_H__ */
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue