Skip to content

Commit

Permalink
Host: Add missing SetBaseUIntSettingValue()
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Oct 18, 2024
1 parent 972a069 commit d4f3e00
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/core/host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4f3e00

Please sign in to comment.