mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Fix additional hardcoded paths.
This commit is contained in:
parent
086da07b53
commit
2be85e8a44
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue