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:
Jackie Smith Cashion 1996-05-09 23:43:58 +00:00
parent fdfa331511
commit 9a739379c4
1 changed files with 1 additions and 1 deletions

View File

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