From b3bf9f3f10d86078fd69e060e3d98c80b6cde4cd Mon Sep 17 00:00:00 2001
From: Connor McLaughlin <stenzek@gmail.com>
Date: Sun, 3 Jan 2021 19:06:24 +1000
Subject: [PATCH] GameSettings: Fix compilation with libretro

---
 src/frontend-common/game_settings.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontend-common/game_settings.cpp b/src/frontend-common/game_settings.cpp
index f0ef295fe..2c181d116 100644
--- a/src/frontend-common/game_settings.cpp
+++ b/src/frontend-common/game_settings.cpp
@@ -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;