Halt instead DebugBreak

This commit is contained in:
Pavel 2023-02-14 19:30:27 +03:00
parent f83f2f5bca
commit 348916bf9f
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -167,7 +167,7 @@ end;
initialization
AddExitProc(@_sys_crt_fini);
InitCriticalSection(StdOutLock);
_sys_crt_init
_sys_crt_init;
end.