And fixed the fix.

This commit is contained in:
OBattler
2021-04-07 00:52:55 +02:00
parent bc2fd285c4
commit 200528443f

View File

@@ -1365,7 +1365,7 @@ ide_write_devctl(uint16_t addr, uint8_t val, void *priv)
/* We must set set the status to busy in reset mode or
some 286 and 386 machines error out. */
if (ide_boards[ide->board]->force_ata3 || ide_bm[ide->board]) {
if (ide_boards[ide->board]->force_ata3 || !ide_bm[ide->board]) {
if (ide->type != IDE_NONE) {
ide->atastat = BSY_STAT;
if (ide->type == IDE_ATAPI)