Rockbox mail archive
Subject: Re: Pitch screen UI
> then you're doing it wrong.... how about posting the diff?
My current diff is kind of convoluted because of all the stuff I'm
doing to the pitch screen, but I've discovered another detail of the
problem. When I modify those settings they're changing correctly in
the global_settings struct. They're not, however, being saved unless
I also change something through the menu system. And when they _do_
get saved they're correctly reloaded upon rebooting.
So it seems like the problem is that I'm modifying global_settings but
the settings system doesn't realize that something has changed, so it
doesn't output a new config.cfg. It seems that if something's changed
through a menu item, the menu system tells the settings system that
something has changed, so it knows to save settings.
So then my question is, how do I let the settings system know that
global_settings has changed?
Received on 2009-06-20
Page was last modified "Jan 10 2012" The Rockbox Crew