kernel32: Forward interrupts in 32-bit code to winedos too.
This commit is contained in:
parent
5a6e0ea46f
commit
e2a366ce33
|
@ -769,7 +769,6 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
|
|||
break; /* Unable to emulate it */
|
||||
|
||||
case 0xcd: /* int <XX> */
|
||||
if (wine_ldt_is_system(context->SegCs)) break; /* don't emulate it in 32-bit code */
|
||||
if (!winedos.EmulateInterruptPM) load_winedos();
|
||||
if (winedos.EmulateInterruptPM)
|
||||
{
|
||||
|
|
|
@ -324,6 +324,10 @@ void WINAPI DOSVM_EmulateInterruptPM( CONTEXT86 *context, BYTE intnum )
|
|||
DOSVM_IntProcRelay,
|
||||
DOSVM_GetBuiltinHandler(intnum) );
|
||||
}
|
||||
else if (wine_ldt_is_system(context->SegCs))
|
||||
{
|
||||
DOSVM_CallBuiltinHandler( context, intnum );
|
||||
}
|
||||
else
|
||||
{
|
||||
DOSVM_HardwareInterruptPM( context, intnum );
|
||||
|
|
Loading…
Reference in New Issue