Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (ColdReset): Fix boolean test. Actually compare a boolean result, rather than the bitmasks!
This commit is contained in:
parent
fdfa331511
commit
9a739379c4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue