mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
34d5c072a8
commit
2a80a49d93
|
@ -469,6 +469,21 @@ end;
|
|||
|
||||
//
|
||||
|
||||
const
|
||||
SCE_IME_DIALOG_STATUS_NONE =0;
|
||||
SCE_IME_DIALOG_STATUS_RUNNING =1;
|
||||
SCE_IME_DIALOG_STATUS_FINISHED=2;
|
||||
|
||||
var
|
||||
status_ime_dialog:Integer=SCE_IME_DIALOG_STATUS_NONE;
|
||||
|
||||
function ps4_sceImeDialogGetStatus:Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=status_ime_dialog;
|
||||
end;
|
||||
|
||||
//
|
||||
|
||||
function Load_libSceCommonDialog(Const name:RawByteString):TElf_node;
|
||||
var
|
||||
lib:PLIBRARY;
|
||||
|
@ -580,6 +595,16 @@ begin
|
|||
lib^.set_proc($8039B96BA19213DE,@ps4_scePlayerInvitationDialogTerminate);
|
||||
end;
|
||||
|
||||
function Load_libSceImeDialog(Const name:RawByteString):TElf_node;
|
||||
var
|
||||
lib:PLIBRARY;
|
||||
begin
|
||||
Result:=TElf_node.Create;
|
||||
Result.pFileName:=name;
|
||||
lib:=Result._add_lib('libSceImeDialog');
|
||||
lib^.set_proc($2000E60F8B527016,@ps4_sceImeDialogGetStatus);
|
||||
end;
|
||||
|
||||
initialization
|
||||
ps4_app.RegistredPreLoad('libSceCommonDialog.prx' ,@Load_libSceCommonDialog);
|
||||
ps4_app.RegistredPreLoad('libSceErrorDialog.prx' ,@Load_libSceErrorDialog);
|
||||
|
@ -589,6 +614,7 @@ initialization
|
|||
ps4_app.RegistredPreLoad('libSceNpCommerce.prx' ,@Load_libSceNpCommerce);
|
||||
ps4_app.RegistredPreLoad('libSceSigninDialog.prx' ,@Load_libSceSigninDialog);
|
||||
ps4_app.RegistredPreLoad('libScePlayerInvitationDialog.prx',@Load_libScePlayerInvitationDialog);
|
||||
ps4_app.RegistredPreLoad('libSceImeDialog.prx' ,@Load_libSceImeDialog);
|
||||
|
||||
end.
|
||||
|
||||
|
|
|
@ -330,6 +330,14 @@ begin
|
|||
_sig_unlock;
|
||||
end;
|
||||
|
||||
function ps4_sceSaveDataUmountWithBackup(mountPoint:PSceSaveDataMountPoint):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
_sig_lock;
|
||||
Result:=UnMountPath(PChar(mountPoint));
|
||||
//backup this
|
||||
_sig_unlock;
|
||||
end;
|
||||
|
||||
function ps4_sceSaveDataGetMountInfo(mountPoint:PSceSaveDataMountPoint;
|
||||
info:pSceSaveDataMountInfo):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
|
@ -401,7 +409,7 @@ begin
|
|||
Exit(SCE_SAVE_DATA_ERROR_PARAMETER);
|
||||
end;
|
||||
|
||||
Assert(cond^.key =SCE_SAVE_DATA_SORT_KEY_DIRNAME);
|
||||
//Assert(cond^.key =SCE_SAVE_DATA_SORT_KEY_DIRNAME);
|
||||
|
||||
s:=IncludeTrailingPathDelimiter(ps4_app.save_path)+_convert_dir_name_search(@cond^.dirName);
|
||||
|
||||
|
@ -511,6 +519,7 @@ begin
|
|||
lib^.set_proc($DF61D0010770336A,@ps4_sceSaveDataMount);
|
||||
lib^.set_proc($D33E393C81FE48D2,@ps4_sceSaveDataMount2);
|
||||
lib^.set_proc($04C47817F51E9371,@ps4_sceSaveDataUmount);
|
||||
lib^.set_proc($57069DC0104127CD,@ps4_sceSaveDataUmountWithBackup);
|
||||
lib^.set_proc($EB9547D1069ACFAB,@ps4_sceSaveDataGetMountInfo);
|
||||
lib^.set_proc($7722219D7ABFD123,@ps4_sceSaveDataDirNameSearch);
|
||||
lib^.set_proc($F39CEE97FFDE197B,@ps4_sceSaveDataSetParam);
|
||||
|
|
Loading…
Reference in New Issue