Use create_directories in sceKernelMkdir instead of create_directory

This commit is contained in:
nblock 2024-08-08 20:41:28 -04:00 committed by GitHub
parent ab56665d4b
commit 5b4fcab617
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -268,7 +268,7 @@ int PS4_SYSV_ABI sceKernelMkdir(const char* path, u16 mode) {
}
// CUSA02456: path = /aotl after sceSaveDataMount(mode = 1)
if (dir_name.empty() || !std::filesystem::create_directory(dir_name)) {
if (dir_name.empty() || !std::filesystem::create_directories(dir_name)) {
return SCE_KERNEL_ERROR_EIO;
}