From 60f07d8133e1e5b25e72683117a4bda8270dbbf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 9 May 2014 20:47:31 +0000 Subject: [PATCH] [NTVDM] Fix logic. Caught by Victor Martinez (private communication). svn path=/trunk/; revision=63207 --- reactos/subsystems/ntvdm/hardware/pic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/ntvdm/hardware/pic.c b/reactos/subsystems/ntvdm/hardware/pic.c index aa40821f449..a5b068c270e 100644 --- a/reactos/subsystems/ntvdm/hardware/pic.c +++ b/reactos/subsystems/ntvdm/hardware/pic.c @@ -313,7 +313,7 @@ call_ica_hw_interrupt(INT ms, BYTE InterruptNumber = line; /* Check for PIC validity */ - if (ms != ICA_MASTER || ms != ICA_SLAVE) return; + if (ms != ICA_MASTER && ms != ICA_SLAVE) return; /* * Adjust the interrupt request number according to the parameters,