mirror of https://github.com/PCSX2/pcsx2.git
pcsx2 utilies: 'mkdir' the full path.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4326 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
31a22bb57b
commit
3c607da90c
|
@ -82,8 +82,13 @@ bool wxDirName::Mkdir()
|
|||
{
|
||||
// wxWidgets recurses directory creation for us.
|
||||
|
||||
// only exist in wx2.9 and above
|
||||
#ifndef wxS_DIR_DEFAULT
|
||||
#define wxS_DIR_DEFAULT 0777
|
||||
#endif
|
||||
|
||||
if( Exists() ) return true;
|
||||
return wxFileName::Mkdir();
|
||||
return wxFileName::Mkdir(wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue