From 9a739379c4035546b1c251f4d3656211e162a64b Mon Sep 17 00:00:00 2001 From: Jackie Smith Cashion Date: Thu, 9 May 1996 23:43:58 +0000 Subject: [PATCH] Fri May 10 00:41:17 1996 James G. Smith * interp.c (ColdReset): Fix boolean test. Actually compare a boolean result, rather than the bitmasks! --- sim/mips/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/mips/interp.c b/sim/mips/interp.c index af3ae29da2a..5700e59a656 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -1881,7 +1881,7 @@ ColdReset() exit(1); } - if ((state & simHOSTBE) == (state & simBE)) { + if (!(state & simHOSTBE) == !(state & simBE)) { host_read_word = xfer_direct_word; host_read_long = xfer_direct_long; host_swap_word = swap_direct_word; -- 2.30.2