mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-31 14:35:19 +00:00
Use create_directories in sceKernelMkdir instead of create_directory
This commit is contained in:
parent
ab56665d4b
commit
5b4fcab617
@ -268,7 +268,7 @@ int PS4_SYSV_ABI sceKernelMkdir(const char* path, u16 mode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CUSA02456: path = /aotl after sceSaveDataMount(mode = 1)
|
// 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;
|
return SCE_KERNEL_ERROR_EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user