Host: Add missing SetBaseUIntSettingValue()

This commit is contained in:
Stenzek 2024-10-13 20:38:26 +10:00
parent f978ab674d
commit 6cdfd44e2d
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -181,12 +181,18 @@ void Host::SetBaseBoolSettingValue(const char* section, const char* key, bool va
s_layered_settings_interface.GetLayer(LayeredSettingsInterface::LAYER_BASE)->SetBoolValue(section, key, value);
}
void Host::SetBaseIntSettingValue(const char* section, const char* key, int value)
void Host::SetBaseIntSettingValue(const char* section, const char* key, s32 value)
{
std::unique_lock lock(s_settings_mutex);
s_layered_settings_interface.GetLayer(LayeredSettingsInterface::LAYER_BASE)->SetIntValue(section, key, value);
}
void Host::SetBaseUIntSettingValue(const char* section, const char* key, u32 value)
{
std::unique_lock lock(s_settings_mutex);
s_layered_settings_interface.GetLayer(LayeredSettingsInterface::LAYER_BASE)->SetUIntValue(section, key, value);
}
void Host::SetBaseFloatSettingValue(const char* section, const char* key, float value)
{
std::unique_lock lock(s_settings_mutex);