Commit b5953831 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the standard exception handling for vm86 GP faults too.

parent 6d1605a6
...@@ -1464,8 +1464,7 @@ void __wine_enter_vm86( CONTEXT *context ) ...@@ -1464,8 +1464,7 @@ void __wine_enter_vm86( CONTEXT *context )
{ {
case VM86_UNKNOWN: /* unhandled GP fault - IO-instruction or similar */ case VM86_UNKNOWN: /* unhandled GP fault - IO-instruction or similar */
rec.ExceptionCode = EXCEPTION_PRIV_INSTRUCTION; rec.ExceptionCode = EXCEPTION_PRIV_INSTRUCTION;
raise_segv_exception( &rec, context ); break;
continue;
case VM86_TRAP: /* return due to DOS-debugger request */ case VM86_TRAP: /* return due to DOS-debugger request */
switch(VM86_ARG(res)) switch(VM86_ARG(res))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment