summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-01 13:57:14 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-01 13:57:14 +0000
commitf0d2861fc58a81ad6dc520279c42710b1d02e20a (patch)
tree0fce27f201cc74d4fff6f19701f21a49c3c39722 /apps/settings_list.h
parentc47172a48059c473350b78a68c25b0cbf368fac1 (diff)
downloadrockbox-f0d2861fc58a81ad6dc520279c42710b1d02e20a.tar.gz
rockbox-f0d2861fc58a81ad6dc520279c42710b1d02e20a.tar.bz2
rockbox-f0d2861fc58a81ad6dc520279c42710b1d02e20a.zip
when saving config.cfg, only save settings which are not the same as
default, hopefully will give a small boost to saving and loading times. Doing a manual save from "manage settings" > "write config" will save every setting. Adds an option to save a cfg file from only the settings needed in a theme .cfg (I may have missed some so let me know). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12172 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r--apps/settings_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h
index 9e50b85f09..195703bfe3 100644
--- a/apps/settings_list.h
+++ b/apps/settings_list.h
@@ -83,10 +83,10 @@ struct int_setting {
- number of bytes for a NVRAM setting is changed
- a NVRAM setting is removed
*/
-
+#define F_THEMESETTING 0x800000
struct settings_list {
- uint32_t flags; /* ____ ____ _FFF ____ ____ NNN_ IFRB STTT */
+ uint32_t flags; /* ____ ____ TFFF ____ ____ NNN_ IFRB STTT */
void *setting;
int lang_id; /* -1 for none */
union storage_type default_val;