mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
sceSaveDataMount2 abi fix
This commit is contained in:
parent
8f4d837b59
commit
3cdc576dca
3 changed files with 11 additions and 3 deletions
|
@ -474,7 +474,7 @@ void libcSymbolsRegister(Loader::SymbolsResolver* sym) {
|
|||
LIB_FUNCTION("1uJgoVq3bQU", "libc", 1, "libc", 1, 1, _Getptolower);
|
||||
LIB_FUNCTION("rcQCUr0EaRU", "libc", 1, "libc", 1, 1, _Getptoupper);
|
||||
LIB_FUNCTION("sUP1hBaouOw", "libc", 1, "libc", 1, 1, _Getpctype);
|
||||
LIB_FUNCTION("gNQ1V2vfXDE", "libc", 1, "libc", 1, 1, ps4_setjmp);
|
||||
//LIB_FUNCTION("gNQ1V2vfXDE", "libc", 1, "libc", 1, 1, ps4_setjmp);
|
||||
}
|
||||
|
||||
}; // namespace Core::Libraries::LibC
|
||||
|
|
|
@ -6,8 +6,16 @@
|
|||
#include "common/log.h"
|
||||
|
||||
namespace Core::Libraries::LibSaveData {
|
||||
s32 sceSaveDataMount2(const SceSaveDataMount2* mount, SceSaveDataMountResult* mountResult) {
|
||||
|
||||
constexpr bool log_file_savedata = true; // disable it to disable logging
|
||||
|
||||
s32 PS4_SYSV_ABI sceSaveDataMount2(const SceSaveDataMount2* mount, SceSaveDataMountResult* mountResult) {
|
||||
PRINT_DUMMY_FUNCTION_NAME();
|
||||
//Save Data are stored encrypted inside /user/home/user Id/title Id/savedata0/sce_sys/.
|
||||
LOG_INFO_IF(log_file_savedata, "\t userId = {}\n", mount->userId);
|
||||
LOG_INFO_IF(log_file_savedata, "\t dirname = {}\n", mount->dirName->data);
|
||||
LOG_INFO_IF(log_file_savedata, "\t blocks = {}\n", mount->blocks);
|
||||
LOG_INFO_IF(log_file_savedata, "\t mountMode = {}\n", mount->mountMode);
|
||||
return SCE_OK;
|
||||
}
|
||||
void saveDataSymbolsRegister(Loader::SymbolsResolver* sym) {
|
||||
|
|
|
@ -44,7 +44,7 @@ struct SceSaveDataMountResult {
|
|||
s32 padding;
|
||||
};
|
||||
|
||||
s32 sceSaveDataMount2(const SceSaveDataMount2* mount, SceSaveDataMountResult* mountResult);
|
||||
s32 PS4_SYSV_ABI sceSaveDataMount2(const SceSaveDataMount2* mount, SceSaveDataMountResult* mountResult);
|
||||
|
||||
void saveDataSymbolsRegister(Loader::SymbolsResolver* sym);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue