From 95928b831bea4f0a959bbbbd6c7318b08b9a2835 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Sun, 26 Oct 2014 14:57:44 +0000 Subject: [PATCH] [NTVDM] Signal the next IRQ on EOI. svn path=/trunk/; revision=65011 --- reactos/subsystems/ntvdm/hardware/pic.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/subsystems/ntvdm/hardware/pic.c b/reactos/subsystems/ntvdm/hardware/pic.c index b5de2b407c2..624c825c084 100644 --- a/reactos/subsystems/ntvdm/hardware/pic.c +++ b/reactos/subsystems/ntvdm/hardware/pic.c @@ -85,6 +85,12 @@ static VOID PicWriteCommand(BYTE Port, BYTE Value) /* Otherwise, clear all of them */ Pic->InServiceRegister = 0; } + + if (MasterPic.IntRequestRegister || SlavePic.IntRequestRegister) + { + /* Signal the next IRQ */ + EmulatorInterruptSignal(); + } } } -- 2.17.1