GameSettings: Fix compilation with libretro

This commit is contained in:
Connor McLaughlin 2021-01-03 19:06:24 +10:00
parent f606999a04
commit b3bf9f3f10
1 changed files with 2 additions and 2 deletions

View File

@ -887,8 +887,6 @@ void Database::SetEntry(const std::string& code, const std::string& name, const
m_entries.emplace(code, entry);
}
#endif
std::optional<std::string> Entry::GetValueForKey(const std::string_view& key) const
{
return GetEntryValueForKey(*this, key);
@ -899,6 +897,8 @@ void Entry::SetValueForKey(const std::string_view& key, const std::optional<std:
SetEntryValueForKey(*this, key, value);
}
#endif
void Entry::ApplySettings(bool display_osd_messages) const
{
constexpr float osd_duration = 10.0f;