dont crash on mods failling to load (again)

This commit is contained in:
dank_meme 2024-06-13 22:07:43 +02:00
parent e37615b459
commit e141d097ab

View file

@ -409,7 +409,10 @@ static LONG WINAPI exceptionHandler(LPEXCEPTION_POINTERS info) {
// c++ exceptions, handled separately
EXCEPTION_NUMBER,
// mods failing to load
ERROR_DLL_INIT_FAILED
STATUS_DLL_NOT_FOUND,
STATUS_DLL_INIT_FAILED,
STATUS_ORDINAL_NOT_FOUND,
STATUS_ENTRYPOINT_NOT_FOUND,
});
if (std::find(ignored.begin(), ignored.end(), info->ExceptionRecord->ExceptionCode) != ignored.end()) {