Corrected incorrect handling of ATA READ LONG, READ TOC/PMA/ATIP and PIONEER READ CD-DA MSF commands.

This commit is contained in:
2017-12-18 17:53:46 +00:00
parent 6654632a9b
commit c30a547b17
3 changed files with 4 additions and 4 deletions

View File

@@ -202,9 +202,9 @@ namespace DiscImageChef.Devices
bool sense;
if(retry)
registers.command = (byte)AtaCommands.ReadLong;
else
registers.command = (byte)AtaCommands.ReadLongRetry;
else
registers.command = (byte)AtaCommands.ReadLong;
registers.sectorCount = 1;
registers.cylinderHigh = (byte)((cylinder & 0xFF00) / 0x100);
registers.cylinderLow = (byte)((cylinder & 0xFF) / 0x1);