[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sun, 26 Oct 2014 14:57:44 +0000 (14:57 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sun, 26 Oct 2014 14:57:44 +0000 (14:57 +0000)
Signal the next IRQ on EOI.

svn path=/trunk/; revision=65011

reactos/subsystems/ntvdm/hardware/pic.c

index b5de2b4..624c825 100644 (file)
@@ -85,6 +85,12 @@ static VOID PicWriteCommand(BYTE Port, BYTE Value)
             /* Otherwise, clear all of them */
             Pic->InServiceRegister = 0;
         }
             /* Otherwise, clear all of them */
             Pic->InServiceRegister = 0;
         }
+
+        if (MasterPic.IntRequestRegister || SlavePic.IntRequestRegister)
+        {
+            /* Signal the next IRQ */
+            EmulatorInterruptSignal();
+        }
     }
 }
 
     }
 }