mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
FolderMemoryCard: Create directories recursively.
This commit is contained in:
1 parent
0976e124e8
commit
af3dfd39b0
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user