Gtk: Fix additional hardcoded paths.

This commit is contained in:
BearOso 2023-08-18 14:10:05 -05:00
parent 086da07b53
commit 2be85e8a44
1 changed files with 2 additions and 2 deletions

View File

@ -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);