mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-15 06:07:55 +03:00
Force append slash to directory path in OsFilesystem::CreateDirectory
The recursive path creation algorithm requires this to be the case
This commit is contained in:
parent
616f7b7826
commit
d79832091d
@ -39,7 +39,7 @@ namespace skyline::vfs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool OsFileSystem::CreateDirectoryImpl(const std::string &path, bool parents) {
|
bool OsFileSystem::CreateDirectoryImpl(const std::string &path, bool parents) {
|
||||||
auto fullPath{basePath + path};
|
auto fullPath{basePath + path + "/"};
|
||||||
|
|
||||||
if (!parents) {
|
if (!parents) {
|
||||||
int ret{mkdir(fullPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)};
|
int ret{mkdir(fullPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user