1
0
Fork 0
forked from suyu/suyu

Addressed issues

Co-authored-by: Mai M. <mathew1800@gmail.com>
This commit is contained in:
Chloe 2021-09-09 03:00:08 +10:00 committed by GitHub
parent 0b891c9245
commit 005b0e68db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()) {