mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
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:
+10
-10
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user