mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-02 12:45:46 -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:
|
||||
// Used by OutputDebugString functions.
|
||||
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:
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user