mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-06 17:54:59 -06:00
Don't log asserts/unreachables twice on Windows (#4497)
This commit is contained in:
parent
dd18a5f29f
commit
d1030d01db
@ -52,6 +52,10 @@ static LONG WINAPI SignalHandler(EXCEPTION_POINTERS* pExp) noexcept {
|
|||||||
case DBG_PRINTEXCEPTION_WIDE_C:
|
case DBG_PRINTEXCEPTION_WIDE_C:
|
||||||
// Used by OutputDebugString functions.
|
// Used by OutputDebugString functions.
|
||||||
return EXCEPTION_CONTINUE_EXECUTION;
|
return EXCEPTION_CONTINUE_EXECUTION;
|
||||||
|
case EXCEPTION_BREAKPOINT:
|
||||||
|
// This is almost certainly coming from our asserts/unreachables, no need to log it again.
|
||||||
|
Common::Log::Flush();
|
||||||
|
return EXCEPTION_CONTINUE_SEARCH;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user