mirror of
https://github.com/red-prig/fpPS4.git
synced 2025-02-21 14:51:07 +00:00
sceSysmoduleUnloadModuleInternal
This commit is contained in:
parent
c26387f8e3
commit
ca812d3184
@ -902,7 +902,7 @@ begin
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function ps4_sceSysmoduleLoadModuleInternalWithArg(id:Word;
|
||||
function ps4_sceSysmoduleLoadModuleInternalWithArg(id:DWord;
|
||||
argc:size_t;
|
||||
argp:PPointer;
|
||||
flags:DWORD;
|
||||
@ -916,6 +916,27 @@ begin
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function ps4_sceSysmoduleUnloadModuleInternal(id:DWord):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if ((id or $80000000)=$80000000) then Exit(SCE_SYSMODULE_ERROR_INVALID_VALUE);
|
||||
|
||||
Writeln('sceSysmoduleUnloadModuleInternal:',GetSysmoduleInternalName(id));
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function ps4_sceSysmoduleUnloadModuleInternalWithArg(id:DWord;
|
||||
argc:size_t;
|
||||
argp:PPointer;
|
||||
flags:DWORD;
|
||||
pRes:PInteger):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if ((id or $80000000)=$80000000) or (flags<>0) then Exit(SCE_SYSMODULE_ERROR_INVALID_VALUE);
|
||||
|
||||
Writeln('sceSysmoduleUnloadModuleInternalWithArg:',GetSysmoduleInternalName(id));
|
||||
if (pRes<>nil) then pRes^:=0;
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
const
|
||||
__progname:PChar='eboot.bin'; //argv[0]
|
||||
|
||||
@ -935,6 +956,8 @@ begin
|
||||
lib^.set_proc($CA714A4396DF1A4B,@ps4_sceSysmoduleIsLoadedInternal);
|
||||
lib^.set_proc($DFD895E44D47A029,@ps4_sceSysmoduleLoadModuleInternal);
|
||||
lib^.set_proc($847AC6A06A0D7FEB,@ps4_sceSysmoduleLoadModuleInternalWithArg);
|
||||
lib^.set_proc($BD7661AED2719067,@ps4_sceSysmoduleUnloadModuleInternal);
|
||||
lib^.set_proc($68A6BA61F04A66CE,@ps4_sceSysmoduleUnloadModuleInternalWithArg);
|
||||
|
||||
lib^.set_proc($E1F539CAF3A4546E,@ps4_sceSysmoduleGetModuleInfoForUnwind);
|
||||
end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user