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))
|
||||
{
|
||||
INTPROC proc = DOSVM_GetBuiltinHandler( intnum );
|
||||
if (!proc) return FALSE;
|
||||
INTPROC proc;
|
||||
if (intnum >= sizeof(DOSVM_VectorsBuiltin)/sizeof(INTPROC)) return FALSE;
|
||||
if (!(proc = DOSVM_VectorsBuiltin[intnum])) return FALSE;
|
||||
proc( context );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue