diff --git a/pcsx2/gui/AppConfig.cpp b/pcsx2/gui/AppConfig.cpp index 56b50bef17..ee747668a0 100644 --- a/pcsx2/gui/AppConfig.cpp +++ b/pcsx2/gui/AppConfig.cpp @@ -159,15 +159,7 @@ namespace PathDefs wxDirName GetBios() { - // Each linux distributions have his rules for path so we give them the possibility to - // change it with compilation flags. -- Gregory -#ifndef PLUGIN_DIR_COMPILATION - return AppRoot() + wxDirName( L"bios" ); -#else -#define xPLUGIN_DIR_str(s) PLUGIN_DIR_str(s) -#define PLUGIN_DIR_str(s) #s - return wxDirName( xPLUGIN_DIR_str(PLUGIN_DIR_COMPILATION) ); -#endif + return GetDocuments() + wxDirName( L"bios" ); } wxDirName GetCheats() @@ -185,7 +177,15 @@ namespace PathDefs wxDirName GetCheatsWS() { - return GetDocuments() + wxDirName( L"cheats_ws" ); + // Each linux distributions have his rules for path so we give them the possibility to + // change it with compilation flags. -- Gregory +#ifndef PLUGIN_DIR_COMPILATION + return AppRoot() + wxDirName( L"cheats_ws" ); +#else +#define xPLUGIN_DIR_str(s) PLUGIN_DIR_str(s) +#define PLUGIN_DIR_str(s) #s + return wxDirName( xPLUGIN_DIR_str(PLUGIN_DIR_COMPILATION) ); +#endif } wxDirName GetSavestates()