Browse Source
Addressed issues
Co-authored-by: Mai M. <mathew1800@gmail.com>
pull/15/merge
Chloe
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/service/filesystem/filesystem.cpp
|
|
|
@ -98,7 +98,7 @@ ResultCode VfsDirectoryServiceWrapper::DeleteFile(const std::string& path_) cons |
|
|
|
ResultCode VfsDirectoryServiceWrapper::CreateDirectory(const std::string& path_) const { |
|
|
|
std::string path(Common::FS::SanitizePath(path_)); |
|
|
|
const auto components = Common::FS::SplitPathComponents(path); |
|
|
|
std::string relative_path = ""; |
|
|
|
std::string relative_path; |
|
|
|
for (const auto& component : components) { |
|
|
|
// Skip empty path components
|
|
|
|
if (component.empty()) { |
|
|
|
|