Author: hbelusca
Date: Fri May 9 20:47:31 2014
New Revision: 63207
URL:
http://svn.reactos.org/svn/reactos?rev=63207&view=rev
Log:
[NTVDM]
Fix logic. Caught by Victor Martinez (private communication).
Modified:
trunk/reactos/subsystems/ntvdm/hardware/pic.c
Modified: trunk/reactos/subsystems/ntvdm/hardware/pic.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/hardware/…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/hardware/pic.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/hardware/pic.c [iso-8859-1] Fri May 9 20:47:31 2014
@@ -313,7 +313,7 @@
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,