diff --git a/kernel/ps4_libkernel.pas b/kernel/ps4_libkernel.pas index af785185..38043764 100644 --- a/kernel/ps4_libkernel.pas +++ b/kernel/ps4_libkernel.pas @@ -94,7 +94,7 @@ Const procedure ps4_stack_chk_fail; SysV_ABI_CDecl; begin Writeln(StdErr,GetCurrentThreadId,':Stack overflow detected! Aborting program.'); - DebugBreak; + Halt; end; {$I StopNotificationReason.inc} @@ -103,7 +103,7 @@ end; procedure ps4_sceKernelDebugRaiseException(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl; begin Writeln(StdErr,'RaiseException:',HexStr(dwStopReason,8),':',HexStr(dwStopId,8),':',GetStopReasonInfo(dwStopReason)); - DebugBreak; + Halt; end; procedure ps4_sceKernelDebugRaiseExceptionOnReleaseMode(dwStopReason,dwStopId:DWORD); SysV_ABI_CDecl; diff --git a/sys/sys_crt.pas b/sys/sys_crt.pas index 6a17c42c..8063b9dd 100644 --- a/sys/sys_crt.pas +++ b/sys/sys_crt.pas @@ -167,7 +167,7 @@ end; initialization AddExitProc(@_sys_crt_fini); InitCriticalSection(StdOutLock); - _sys_crt_init + _sys_crt_init; end.