From 2be85e8a447f26cc610c977e12106d38c7ae0d1a Mon Sep 17 00:00:00 2001 From: BearOso Date: Fri, 18 Aug 2023 14:10:05 -0500 Subject: [PATCH] Gtk: Fix additional hardcoded paths. --- gtk/src/gtk_cheat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/src/gtk_cheat.cpp b/gtk/src/gtk_cheat.cpp index aaec629f..ca6571c1 100644 --- a/gtk/src/gtk_cheat.cpp +++ b/gtk/src/gtk_cheat.cpp @@ -288,8 +288,8 @@ void Snes9xCheats::search_database() for (const auto &dir : { S9xGetDirectory(CHEAT_DIR), get_config_dir(), std::string(DATADIR), - "/usr/share/snes9x", - "/usr/local/share/snes9x" }) + std::string("/usr/share/snes9x"), + std::string("/usr/local/share/snes9x") }) { filename = dir + "/cheats.bml"; result = S9xImportCheatsFromDatabase(filename);