Removed an always true comparison from the NCR 5380 code.

This commit is contained in:
OBattler
2020-01-14 19:52:13 +01:00
parent 69b84765ba
commit 93111b3a24

View File

@@ -430,7 +430,7 @@ ncr_bus_update(void *priv, int bus)
ncr_log("Command pos=%i, output data=%02x\n", ncr->command_pos, BUS_GETDATA(bus));
if (ncr->command_pos == cmd_len[(ncr->command[0] >> 5) & 7]) {
if (ncr->msglun >= 0 && ncr->is_msgout) {
if (ncr->is_msgout) {
ncr->is_msgout = 0;
ncr->command[1] &= ~(0x80 | 0x40 | 0x20);
ncr->command[1] |= ncr->msglun << 5;