Fix length offset for Flexable Geometry sense

This commit is contained in:
Eric Helgeson 2022-06-24 16:13:07 -05:00
parent 52a0936fbc
commit 28078212f5
1 changed files with 1 additions and 1 deletions

View File

@ -1228,7 +1228,7 @@ byte onModeSense(SCSI_DEVICE *dev, const byte *cdb)
m_buf[a + 4] = 16; // Number of heads
m_buf[a + 5] = 18; // Sectors per track
m_buf[a + 6] = 0x2000; // Data bytes per sector
a += 0x1E;
a += 0x20;
if(pageCode != SCSI_SENSE_MODE_ALL) break;
case SCSI_SENSE_MODE_VENDOR_APPLE:
{