mirror of https://github.com/PCSX2/pcsx2.git
FolderMemoryCard: Create directories recursively.
This commit is contained in:
parent
0976e124e8
commit
af3dfd39b0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue