mirror of https://github.com/PCSX2/pcsx2.git
ws_cheats folder goes back to documents (following r5640, r5824 and r5826). This way the installer only installs the cheats_ws,zip file at the installation dir, while users could put their own ws cheat files at cheats_ws folder under documents. Portable mode is unaffected.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5837 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
980229ce5b
commit
5187f8bfe1
|
@ -177,15 +177,7 @@ namespace PathDefs
|
|||
|
||||
wxDirName GetCheatsWS()
|
||||
{
|
||||
// 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
|
||||
return GetDocuments() + wxDirName( L"cheats_ws" );
|
||||
}
|
||||
|
||||
wxDirName GetSavestates()
|
||||
|
|
Loading…
Reference in New Issue