- Several SaveData functions. Dysmantle and we are doomed should save and load now.

This commit is contained in:
raziel1000 2024-07-04 01:51:46 -06:00
parent 3875c00281
commit 0ecc54032c
7 changed files with 488 additions and 92 deletions

View file

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