summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chloe2021-09-09 03:00:08 +1000
committerGravatar GitHub2021-09-09 03:00:08 +1000
commit005b0e68db603fbcbd0f2cdab722880d227d50ac (patch)
tree49843419e68e7a2928d23d7420bb9797f6c41911
parentFS: Recursively create directories for CreateDirectory (diff)
downloadyuzu-005b0e68db603fbcbd0f2cdab722880d227d50ac.tar.gz
yuzu-005b0e68db603fbcbd0f2cdab722880d227d50ac.tar.xz
yuzu-005b0e68db603fbcbd0f2cdab722880d227d50ac.zip
Addressed issues
Co-authored-by: Mai M. <mathew1800@gmail.com>
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 14a491dd5..db17d61e4 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -98,7 +98,7 @@ ResultCode VfsDirectoryServiceWrapper::DeleteFile(const std::string& path_) cons
98ResultCode VfsDirectoryServiceWrapper::CreateDirectory(const std::string& path_) const { 98ResultCode VfsDirectoryServiceWrapper::CreateDirectory(const std::string& path_) const {
99 std::string path(Common::FS::SanitizePath(path_)); 99 std::string path(Common::FS::SanitizePath(path_));
100 const auto components = Common::FS::SplitPathComponents(path); 100 const auto components = Common::FS::SplitPathComponents(path);
101 std::string relative_path = ""; 101 std::string relative_path;
102 for (const auto& component : components) { 102 for (const auto& component : components) {
103 // Skip empty path components 103 // Skip empty path components
104 if (component.empty()) { 104 if (component.empty()) {