mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
cb99d2ad9a
commit
eaac8445bd
|
@ -81,25 +81,14 @@ end;
|
|||
|
||||
// eStopNotificationReason
|
||||
procedure ps4_sceKernelDebugRaiseException(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl;
|
||||
//var
|
||||
// t:pthread;
|
||||
begin
|
||||
//t:=_get_curthread;
|
||||
//if (t<>nil) then
|
||||
// Writeln('RaiseThread=',t^.name);
|
||||
Writeln(StdErr,'RaiseException:',HexStr(dwStopReason,8),':',HexStr(dwStopId,8),':',GetStopReasonInfo(dwStopReason));
|
||||
DebugBreak;
|
||||
end;
|
||||
|
||||
procedure ps4_sceKernelDebugRaiseExceptionOnReleaseMode(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl;
|
||||
//var
|
||||
// t:pthread;
|
||||
begin
|
||||
//t:=_get_curthread;
|
||||
//if (t<>nil) then
|
||||
// Writeln('RaiseThread=',t^.name);
|
||||
Writeln(StdErr,'RaiseException:',HexStr(dwStopReason,8),':',HexStr(dwStopId,8),':',GetStopReasonInfo(dwStopReason));
|
||||
DebugBreak;
|
||||
//skip
|
||||
end;
|
||||
|
||||
procedure ps4_sceKernelDebugOutText(dbg_id:Integer;text:Pchar); SysV_ABI_CDecl;
|
||||
|
|
|
@ -148,19 +148,22 @@ begin
|
|||
|
||||
if (details<>nil) then
|
||||
begin
|
||||
details^.numGroups :=0;
|
||||
details^.numTrophies:=0;
|
||||
details^.numPlatinum:=0;
|
||||
details^.numGold :=0;
|
||||
details^.numSilver :=0;
|
||||
details^.numBronze :=0;
|
||||
FillChar(details^.title,SizeOf(details^.title),0);
|
||||
FillChar(details^.description,SizeOf(details^.description),0);
|
||||
details^:=Default(SceNpTrophyGameDetails);
|
||||
details^.numGroups :=1;
|
||||
details^.numTrophies:=1;
|
||||
details^.numPlatinum:=1;
|
||||
details^.numGold :=1;
|
||||
details^.numSilver :=1;
|
||||
details^.numBronze :=1;
|
||||
end;
|
||||
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
const
|
||||
SCE_NP_TROPHY_ERROR_ICON_FILE_NOT_FOUND=-2141907436; //0x80551614;
|
||||
|
||||
//result is png image
|
||||
function ps4_sceNpTrophyGetGameIcon(context:Integer;
|
||||
handle:Integer;
|
||||
buffer:Pointer;
|
||||
|
@ -168,7 +171,7 @@ function ps4_sceNpTrophyGetGameIcon(context:Integer;
|
|||
begin
|
||||
Writeln('sceNpTrophyGetGameIcon:',handle);
|
||||
size^:=0;
|
||||
Result:=0;
|
||||
Result:=SCE_NP_TROPHY_ERROR_ICON_FILE_NOT_FOUND;
|
||||
end;
|
||||
|
||||
function Load_libSceNpTrophy(Const name:RawByteString):TElf_node;
|
||||
|
|
Loading…
Reference in New Issue