From 4ae6b0cb838c3bdb5f78b37d27dd3773ba364984 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut" Date: Fri, 24 Jan 2014 18:12:11 +0000 Subject: [PATCH] redo commit r5824 with the eye open this time... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5826 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/gui/AppConfig.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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()