mirror of https://github.com/red-prig/fpPS4.git
Halt instead DebugBreak
This commit is contained in:
parent
f83f2f5bca
commit
348916bf9f
|
@ -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;
|
||||
|
|
|
@ -167,7 +167,7 @@ end;
|
|||
initialization
|
||||
AddExitProc(@_sys_crt_fini);
|
||||
InitCriticalSection(StdOutLock);
|
||||
_sys_crt_init
|
||||
_sys_crt_init;
|
||||
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue