sigma_cpu: Fix always true case

This was the equivalent of "if (vec >= 0x52 || vec <= 0x55)".
This commit is contained in:
Lioncash 2014-11-26 08:59:10 -05:00
parent b881ccdc19
commit 499757acb1

View file

@ -455,7 +455,7 @@ while (reason == 0) { /* loop until stop */
io_sclr_req (sav_hi, 0); /* clear request */
io_sclr_arm (sav_hi, 1); /* set armed */
if ((res == 0) && /* count overflow */
((vec >= VEC_C1P) || (vec <= VEC_C4P))) /* on clock? */
((vec >= VEC_C1P) && (vec <= VEC_C4P))) /* on clock? */
io_sclr_req (INTV (INTG_CTR, vec - VEC_C1P), 1);
int_hiact = io_actv_int (); /* re-eval active */
int_hireq = io_eval_int (); /* re-eval intr */