mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-20 08:24:46 +00:00
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…
x
Reference in New Issue
Block a user