Launcher: add notes about changes to unhandled exception filter

The engine executable has been patched to no longer install this, therefore this function will never be called as we install a vectored exception filter anyways. This solves the issue where the crash message application gets called more than once when a crash occurs before the SDK detours are initialized.
This commit is contained in:
Kawe Mazidjatari 2024-10-06 12:28:43 +02:00
parent 6de498e7ba
commit 130161128c

View File

@ -44,6 +44,10 @@ LONG WINAPI TopLevelExceptionFilter(EXCEPTION_POINTERS* pExceptionPointers)
{ {
// Don't run the unhandled exception filter from the // Don't run the unhandled exception filter from the
// game if we have a valid vectored exception filter. // game if we have a valid vectored exception filter.
//
// NOTE: the exception filter is no longer set in the
// game executable, so this will never be called. Hook
// is left in place in case we do happen to reuse it.
if (g_CrashHandler.IsValid()) if (g_CrashHandler.IsValid())
{ {
return NULL; return NULL;