winedos: Don't emulate in 32-bit mode interrupts that don't have a specific handler.
This commit is contained in:
parent
56da854c21
commit
4d53055f62
|
@ -328,8 +328,10 @@ BOOL WINAPI DOSVM_EmulateInterruptPM( CONTEXT86 *context, BYTE intnum )
|
||||||
}
|
}
|
||||||
else if (wine_ldt_is_system(context->SegCs))
|
else if (wine_ldt_is_system(context->SegCs))
|
||||||
{
|
{
|
||||||
INTPROC proc = DOSVM_GetBuiltinHandler( intnum );
|
INTPROC proc;
|
||||||
if (!proc) return FALSE;
|
if (intnum >= sizeof(DOSVM_VectorsBuiltin)/sizeof(INTPROC)) return FALSE;
|
||||||
|
if (!(proc = DOSVM_VectorsBuiltin[intnum])) return FALSE;
|
||||||
|
proc( context );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue