mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix mods crashing instead of failing to load when they fail to load
This commit is contained in:
parent
bacab92b75
commit
e37615b459
1 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,9 @@ static LONG WINAPI exceptionHandler(LPEXCEPTION_POINTERS info) {
|
|||
// SetThreadName
|
||||
0x406d1388,
|
||||
// c++ exceptions, handled separately
|
||||
EXCEPTION_NUMBER
|
||||
EXCEPTION_NUMBER,
|
||||
// mods failing to load
|
||||
ERROR_DLL_INIT_FAILED
|
||||
});
|
||||
|
||||
if (std::find(ignored.begin(), ignored.end(), info->ExceptionRecord->ExceptionCode) != ignored.end()) {
|
||||
|
|
Loading…
Reference in a new issue