|
|
|
@ -1948,17 +1948,6 @@ static void LoadSettings(const SettingDesc *osd, void *object)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Loadhandler for a list of global variables
|
|
|
|
|
* @param sdg pointer for the global variable list SettingDescGlobVarList
|
|
|
|
|
* @note this is actually a stub for LoadSettings with the
|
|
|
|
|
* object pointer set to NULL
|
|
|
|
|
*/
|
|
|
|
|
static inline void LoadSettingsGlobList(const SettingDescGlobVarList *sdg)
|
|
|
|
|
{
|
|
|
|
|
LoadSettings((const SettingDesc*)sdg, NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Save and load handler for settings
|
|
|
|
|
* @param sd SettingDesc struct containing all information
|
|
|
|
@ -1982,16 +1971,6 @@ static void SaveSettings(const SettingDesc *sd, void *object)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Savehandler for a list of global variables
|
|
|
|
|
* @note this is actually a stub for SaveSettings with the
|
|
|
|
|
* object pointer set to NULL
|
|
|
|
|
*/
|
|
|
|
|
static inline void SaveSettingsGlobList(const SettingDescGlobVarList *sdg)
|
|
|
|
|
{
|
|
|
|
|
SaveSettings((const SettingDesc*)sdg, NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void Load_OPTS()
|
|
|
|
|
{
|
|
|
|
|
/* Copy over default setting since some might not get loaded in
|
|
|
|
|