Catch EXCEPTION_PRIV_INSTRUCTION exception too.
This commit is contained in:
parent
c5e86a2c19
commit
2826f575ae
|
@ -24,7 +24,8 @@ DEFAULT_DEBUG_CHANNEL(snoop);
|
|||
|
||||
static WINE_EXCEPTION_FILTER(page_fault)
|
||||
{
|
||||
if (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION)
|
||||
if (GetExceptionCode() == EXCEPTION_ACCESS_VIOLATION ||
|
||||
GetExceptionCode() == EXCEPTION_PRIV_INSTRUCTION)
|
||||
return EXCEPTION_EXECUTE_HANDLER;
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue