Removed an always true comparison from the NCR 5380 code.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user