mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 17:34:52 +00:00
sceSaveDataMount2 just return save data not found for now
This commit is contained in:
parent
6066c89607
commit
9d8fc61954
3 changed files with 44 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// Generated By moduleGenerator
|
||||
#include <common/assert.h>
|
||||
#include "common/logging/log.h"
|
||||
#include "error_codes.h"
|
||||
#include "libscesavedata.h"
|
||||
|
@ -328,9 +329,15 @@ int PS4_SYSV_ABI sceSaveDataMount() {
|
|||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceSaveDataMount2() {
|
||||
LOG_ERROR(Lib_SaveData, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
s32 PS4_SYSV_ABI sceSaveDataMount2(const OrbisSaveDataMount2* mount,
|
||||
OrbisSaveDataMountResult* mount_result) {
|
||||
// will return save data not found , breakpoint for others
|
||||
LOG_ERROR(Lib_SaveData, "(DUMMY) called user_id = {} dir_name = {} blocks = {} mount_mode = {}",
|
||||
mount->user_id, mount->dir_name->data, mount->blocks, mount->mount_mode);
|
||||
if (mount->mount_mode == 1) { // open
|
||||
return 0x809F0008; // save data not found
|
||||
}
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceSaveDataMount5() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue