mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 03:54:45 +00:00
Use create_directories in sceKernelMkdir instead of create_directory
This commit is contained in:
parent
ab56665d4b
commit
5b4fcab617
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue