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:
gregory.hainaut@gmail.com 2011-02-20 16:57:36 +00:00
parent 31a22bb57b
commit 3c607da90c
1 changed files with 6 additions and 1 deletions

View File

@ -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);
}