redo commit r5824 with the eye open this time...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5826 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2014-01-24 18:12:11 +00:00
parent 2f7d642113
commit 4ae6b0cb83
1 changed files with 10 additions and 10 deletions

View File

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