diff --git a/kernel/ps4_libkernel.pas b/kernel/ps4_libkernel.pas index 049274ac..b3b13c60 100644 --- a/kernel/ps4_libkernel.pas +++ b/kernel/ps4_libkernel.pas @@ -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; diff --git a/sys/sys_path.pas b/sys/sys_path.pas index c4a0d3b1..5fac5e99 100644 --- a/sys/sys_path.pas +++ b/sys/sys_path.pas @@ -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:='';