mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
2f7d642113
commit
4ae6b0cb83
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue