Catch EXCEPTION_PRIV_INSTRUCTION exception too.

This commit is contained in:
Rein Klazes 2000-09-19 02:39:59 +00:00 committed by Alexandre Julliard
parent c5e86a2c19
commit 2826f575ae
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}