From af3dfd39b02ab41f2b80482243dac65ff3fb13b8 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 11 Jun 2015 23:22:49 +0200 Subject: [PATCH] FolderMemoryCard: Create directories recursively. --- pcsx2/gui/MemoryCardFolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/gui/MemoryCardFolder.cpp b/pcsx2/gui/MemoryCardFolder.cpp index 6a7bb84f7e..b00d2a0a78 100644 --- a/pcsx2/gui/MemoryCardFolder.cpp +++ b/pcsx2/gui/MemoryCardFolder.cpp @@ -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();