[Settings] some scope and spacing formatting clean-ups
This commit is contained in:
parent
a247ffe6b1
commit
86952f5cc6
|
@ -60,7 +60,6 @@ __declspec(dllexport) void SetSettingInfo2 (PLUGIN_SETTINGS2 * info);
|
||||||
__declspec(dllexport) void SetSettingInfo3 (PLUGIN_SETTINGS3 * info);
|
__declspec(dllexport) void SetSettingInfo3 (PLUGIN_SETTINGS3 * info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
__declspec(dllexport) void SetSettingInfo (PLUGIN_SETTINGS * info)
|
__declspec(dllexport) void SetSettingInfo (PLUGIN_SETTINGS * info)
|
||||||
{
|
{
|
||||||
g_PluginSettings = *info;
|
g_PluginSettings = *info;
|
||||||
|
@ -97,7 +96,9 @@ void RegisterSetting ( short SettingID, SETTING_DATA_TYPE Type, const char *
|
||||||
if (Category && Category[0] != 0)
|
if (Category && Category[0] != 0)
|
||||||
{
|
{
|
||||||
_snprintf(FullCategory,sizeof(FullCategory),"%s\\%s",g_PluginSettingName,Category);
|
_snprintf(FullCategory,sizeof(FullCategory),"%s\\%s",g_PluginSettingName,Category);
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
_snprintf(FullCategory,sizeof(FullCategory),"%s",g_PluginSettingName);
|
_snprintf(FullCategory,sizeof(FullCategory),"%s",g_PluginSettingName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,6 +210,3 @@ void SetSettingSz ( short SettingID, const char * Value )
|
||||||
{
|
{
|
||||||
g_PluginSettings.SetSettingSz(g_PluginSettings.handle,SettingID + g_PluginSettings.SettingStartRange, Value);
|
g_PluginSettings.SetSettingSz(g_PluginSettings.handle,SettingID + g_PluginSettings.SettingStartRange, Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ enum SETTING_DATA_TYPE {
|
||||||
Data_String_RDB_Setting = 7, // A string read from the rom database, with config file
|
Data_String_RDB_Setting = 7, // A string read from the rom database, with config file
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// set other information about different settings
|
// set other information about different settings
|
||||||
BOOL SettingsInitilized ( void );
|
BOOL SettingsInitilized ( void );
|
||||||
void SetModuleName ( const char * Name );
|
void SetModuleName ( const char * Name );
|
||||||
|
|
Loading…
Reference in New Issue