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

@@ -292,7 +292,7 @@ namespace DiscImageChef.Devices
byte[] tmpBuffer;
bool sense;
if(format == 5)
if((format & 0x0F)== 5)
tmpBuffer = new byte[32768];
else
tmpBuffer = new byte[1024];