mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 03:54:45 +00:00
sceSaveDataDirNameSearch: Removed early failure exit
This commit is contained in:
parent
a0aac5985e
commit
7546fb2bb5
1 changed files with 5 additions and 6 deletions
|
@ -177,12 +177,11 @@ int PS4_SYSV_ABI sceSaveDataDeleteUser() {
|
|||
|
||||
int PS4_SYSV_ABI sceSaveDataDirNameSearch(const OrbisSaveDataDirNameSearchCond* cond,
|
||||
OrbisSaveDataDirNameSearchResult* result) {
|
||||
if (cond == nullptr || cond->dirName == nullptr)
|
||||
return ORBIS_SAVE_DATA_ERROR_PARAMETER;
|
||||
LOG_ERROR(Lib_SaveData,
|
||||
"TODO sceSaveDataDirNameSearch: search_dir_name = {}, key = {}, result = {}",
|
||||
cond->dirName->data, (int)cond->key, (result->infos == nullptr));
|
||||
|
||||
if (cond != nullptr && cond->dirName != nullptr) {
|
||||
LOG_ERROR(Lib_SaveData,
|
||||
"TODO sceSaveDataDirNameSearch: search_dir_name = {}, key = {}, result = {}",
|
||||
cond->dirName->data, (int)cond->key, (result->infos == nullptr));
|
||||
}
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue