Removed the recently introduced IDE reset change - fixes CD-ROM detection on Windows 95 on Phoenix BIOS'es.

This commit is contained in:
OBattler
2023-11-04 23:16:08 +01:00
parent 1ce96a0624
commit 85f358b7f5

View File

@@ -1336,10 +1336,6 @@ ide_write_devctl(UNUSED(uint16_t addr), uint8_t val, void *priv)
uint8_t old;
ch = dev->cur_dev;
/* ATA/ATAPI specification: On a slave with non-present master, pretend the
master is selected. */
if (ide_drives[ch]->type & IDE_SHADOW)
ch ^= 1;
ide = ide_drives[ch];
ide_other = ide_drives[ch ^ 1];