MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / FloatStepValue

Method FloatStepValue

pcsx2/Pcsx2Config.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95float SettingInfo::FloatStepValue() const
96{
97 static constexpr float fallback_value = 0.1f;
98 return step_value ? StringUtil::FromChars<float>(step_value).value_or(fallback_value) : fallback_value;
99}
100
101void SettingInfo::SetDefaultValue(SettingsInterface* si, const char* section, const char* key) const
102{

Callers 2

createSettingWidgetsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected