FolderMemoryCard: Create directories recursively.

This commit is contained in:
Admiral H. Curtiss 2015-06-11 23:22:49 +02:00
parent 0976e124e8
commit af3dfd39b0
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ wxFFile* FileAccessHelper::Open( const wxFileName& folderName, MemoryCardFileMet
if ( !fn.FileExists() ) {
if ( !fn.DirExists() ) {
fn.Mkdir();
fn.Mkdir( 0777, wxPATH_MKDIR_FULL );
}
wxFFile createEmptyFile( filename, L"wb" );
createEmptyFile.Close();