Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: using config.cfg instead of config block

Re: using config.cfg instead of config block

From: Michael Sevakis <jethead71_at_sbcglobal.net>
Date: Tue, 14 Nov 2006 19:07:52 -0500

I imagine some other size savings will happen without having to use indexes
for certain settings as well. I'll be able to drop some stuff in the encoder
settings being able to save/load real values and I suppose the backlight
timeout and other stuff similarly implemented can be simplified.

----- Original Message -----
From: "Jonathan Gordon" <jdgordy_at_gmail.com>
To: "Rockbox development" <rockbox-dev_at_cool.haxx.se>
Sent: Tuesday, November 14, 2006 6:45 PM
Subject: Re: using config.cfg instead of config block


> On 15/11/06, Jonathan Gordon <jdgordy_at_gmail.com> wrote:
>
> > There is alot of commented out code in the settings_save_config()
> > function, its purpose is to dump the valid values for each setting to
> > the disk when it saves... do we want this? (remebering it will slow
> > down saving a bit, and increase bin size)
>
> I changed it from using a global_setting offset to just use the
> address and that shrunk it by about 600bytes, and adding this only
> added 300bytes, so I guess it can go in
Received on 2006-11-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy