Merge pull request #655 from 86Box/bugfix/ma13b116_fix

Clear the current bus data when a device is not found or not selected…
This commit is contained in:
OBattler
2020-03-31 19:55:28 +02:00
committed by GitHub

View File

@@ -392,8 +392,7 @@ ncr_bus_update(void *priv, int bus)
ncr->state = STATE_SELECT;
} else {
ncr_log("Device not found at ID %i, Current Bus BSY=%02x\n", ncr->target_id, ncr->cur_bus);
if (ncr_dev->type == 1 && ncr_dev->bios_ver == 1)
ncr->cur_bus = 0;
ncr->cur_bus = 0;
}
}
} else if (ncr->state == STATE_SELECT) {