mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
shortcuts.c don't call settings_apply_skins() unless needed
Add F_NEEDAPPLY if F_THEMESETTING requires a call to settings_apply_skins() Change-Id: Ied1bf7b2c4fb2e07bf1f54076e647bdc0844037a
This commit is contained in:
parent
81c65536ec
commit
914fcab06a
4 changed files with 21 additions and 20 deletions
|
|
@ -158,7 +158,7 @@ struct custom_setting {
|
|||
#define F_RECSETTING 0x1000000
|
||||
#define F_EQSETTING 0x2000000
|
||||
#define F_SOUNDSETTING 0x4000000
|
||||
/*#define _AVAILABLE_ 0x8000000*/
|
||||
#define F_NEEDAPPLY 0x8000000 /*F_THEMESETTING needs apply to effect setting change*/
|
||||
#define F_CB_ON_SELECT_ONLY 0x10000000 /* option_callback only called if selected */
|
||||
#define F_CB_ONLY_IF_CHANGED 0x20000000 /* option_callback only called if setting changed */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue