mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
d9d8eef529
commit
fef3d27572
|
@ -94,7 +94,9 @@ Const
|
|||
procedure ps4_stack_chk_fail; SysV_ABI_CDecl;
|
||||
begin
|
||||
Writeln(StdErr,GetCurrentThreadId,':Stack overflow detected! Aborting program.');
|
||||
Halt;
|
||||
asm
|
||||
ud2
|
||||
end;
|
||||
end;
|
||||
|
||||
{$I StopNotificationReason.inc}
|
||||
|
@ -103,7 +105,9 @@ end;
|
|||
procedure ps4_sceKernelDebugRaiseException(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl;
|
||||
begin
|
||||
Writeln(StdErr,'RaiseException:',HexStr(dwStopReason,8),':',HexStr(dwStopId,8),':',GetStopReasonInfo(dwStopReason));
|
||||
Halt;
|
||||
asm
|
||||
ud2
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure ps4_sceKernelDebugRaiseExceptionOnReleaseMode(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl;
|
||||
|
|
|
@ -533,6 +533,13 @@ begin
|
|||
end;
|
||||
end;
|
||||
|
||||
r:='';
|
||||
if (MountMiscConcat('mnt','',r)=PT_FILE) then
|
||||
if DirectoryExists(r) then
|
||||
begin
|
||||
add_dir('mnt');
|
||||
end;
|
||||
|
||||
For i:=0 to 1 do
|
||||
begin
|
||||
r:='';
|
||||
|
|
Loading…
Reference in New Issue