mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added "System" option to RtCrashReportKind
This commit is contained in:
parent
54136f2606
commit
733b3fe41f
3 changed files with 19 additions and 14 deletions
|
@ -290,7 +290,8 @@ namespace System
|
||||||
GUI,
|
GUI,
|
||||||
Console,
|
Console,
|
||||||
PrintOnly,
|
PrintOnly,
|
||||||
None
|
None,
|
||||||
|
System
|
||||||
}
|
}
|
||||||
|
|
||||||
enum RtFlags : int32
|
enum RtFlags : int32
|
||||||
|
|
|
@ -95,7 +95,8 @@ enum BfpCrashReportKind
|
||||||
BfpCrashReportKind_GUI,
|
BfpCrashReportKind_GUI,
|
||||||
BfpCrashReportKind_Console,
|
BfpCrashReportKind_Console,
|
||||||
BfpCrashReportKind_PrintOnly,
|
BfpCrashReportKind_PrintOnly,
|
||||||
BfpCrashReportKind_None
|
BfpCrashReportKind_None,
|
||||||
|
BfpCrashReportKind_System
|
||||||
};
|
};
|
||||||
|
|
||||||
BFP_EXPORT void BFP_CALLTYPE BfpSystem_Init(int version, BfpSystemInitFlags flags);
|
BFP_EXPORT void BFP_CALLTYPE BfpSystem_Init(int version, BfpSystemInitFlags flags);
|
||||||
|
|
|
@ -1043,6 +1043,9 @@ static long __stdcall SEHFilter(LPEXCEPTION_POINTERS lpExceptPtr)
|
||||||
{
|
{
|
||||||
OutputDebugStrF("SEH Filter! CraskReportKind:%d\n", CrashCatcher::Get()->mCrashReportKind);
|
OutputDebugStrF("SEH Filter! CraskReportKind:%d\n", CrashCatcher::Get()->mCrashReportKind);
|
||||||
|
|
||||||
|
if (CrashCatcher::Get()->mCrashReportKind == BfpCrashReportKind_System)
|
||||||
|
return EXCEPTION_CONTINUE_SEARCH;
|
||||||
|
|
||||||
if (CrashCatcher::Get()->mCrashReportKind == BfpCrashReportKind_None)
|
if (CrashCatcher::Get()->mCrashReportKind == BfpCrashReportKind_None)
|
||||||
{
|
{
|
||||||
OutputDebugStrF("Silent Exiting\n");
|
OutputDebugStrF("Silent Exiting\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue