Fix logic. Caught by Victor Martinez (private communication).

svn path=/trunk/; revision=63207
This commit is contained in:
Hermès Bélusca-Maïto 2014-05-09 20:47:31 +00:00
parent 7090d796f6
commit 60f07d8133

View file

@ -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,