mirror of https://github.com/PCSX2/pcsx2.git
wxGui branch: Removed some win32 platform-specific code in main.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@901 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
30339b5ca8
commit
9c3bf215bf
|
@ -22,8 +22,7 @@
|
||||||
#include "Resources/EmbeddedImage.h"
|
#include "Resources/EmbeddedImage.h"
|
||||||
#include "Resources/BackgroundLogo.h"
|
#include "Resources/BackgroundLogo.h"
|
||||||
|
|
||||||
#include <ShlObj.h>
|
#include <wx/stdpaths.h>
|
||||||
|
|
||||||
|
|
||||||
IMPLEMENT_APP(Pcsx2App)
|
IMPLEMENT_APP(Pcsx2App)
|
||||||
|
|
||||||
|
@ -54,9 +53,7 @@ namespace PathDefs
|
||||||
wxString GetDocuments()
|
wxString GetDocuments()
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
wxChar path[MAX_PATH];
|
return Path::Combine( wxStandardPaths::Get().GetDocumentsDir(), wxGetApp().GetAppName() );
|
||||||
SHGetFolderPath( NULL, CSIDL_MYDOCUMENTS, NULL, SHGFP_TYPE_CURRENT, path );
|
|
||||||
return Path::Combine( path, wxGetApp().GetAppName().c_str() );
|
|
||||||
#else
|
#else
|
||||||
return wxGetHomeDir();
|
return wxGetHomeDir();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue