From 46eefc5b2a3c4e4167897690326bded42756f842 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Fri, 9 Aug 2019 17:31:59 +1000 Subject: [PATCH] Fixed doubleup on path creation --- stratosphere/ncm/source/ncm_fs.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stratosphere/ncm/source/ncm_fs.cpp b/stratosphere/ncm/source/ncm_fs.cpp index 58b6f757b..b3635ec42 100644 --- a/stratosphere/ncm/source/ncm_fs.cpp +++ b/stratosphere/ncm/source/ncm_fs.cpp @@ -209,14 +209,6 @@ namespace sts::ncm { working_path_buf[i + 1] = '/'; } } - - if (mkdir(working_path_buf + 1, S_IRWXU) == -1) { - R_TRY_CATCH(fsdevGetLastResult()) { - R_CATCH(ResultFsPathAlreadyExists) { - /* If the path already exists, that's okay. Anything else is an error. */ - } - } R_END_TRY_CATCH; - } } } else { return ResultNcmAllocationFailed;