From d6afba96f1bce9942a72334214d3715025c2a3aa Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 10 Dec 2018 01:40:48 +0300 Subject: [PATCH] cellSaveData: fix 'Already exists' error --- rpcs3/Emu/Cell/Modules/cellSaveData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp index f96e86038f..238ebafc65 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -871,7 +871,7 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version, if (!psf.empty() && has_modified) { // First, create temporary directory - if (fs::create_dir(new_path)) + if (fs::create_path(new_path)) { fs::remove_all(new_path, false); }