Add multisession test.

This commit is contained in:
rocky
2004-06-28 00:26:19 +00:00
parent b14b535764
commit 72923b43af

View File

@@ -1,6 +1,6 @@
/* Common MMC routines.
$Id: scsi_mmc.c,v 1.1 2004/06/27 21:58:12 rocky Exp $
$Id: scsi_mmc.c,v 1.2 2004/06/28 00:26:19 rocky Exp $
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
@@ -44,6 +44,8 @@ cdio_get_drive_cap_mmc(const uint8_t *p)
if (p[3] & 0x01) i_drivetype |= CDIO_DRIVE_CAP_CD_R;
if (p[3] & 0x10) i_drivetype |= CDIO_DRIVE_CAP_DVD_R;
if (p[3] & 0x20) i_drivetype |= CDIO_DRIVE_CAP_DVD_RAM;
if (p[4] & 0x40) i_drivetype |= CDIO_DRIVE_CAP_MULTISESSION;
if (p[6] & 0x01) i_drivetype |= CDIO_DRIVE_CAP_LOCK;
if (p[6] & 0x08) i_drivetype |= CDIO_DRIVE_CAP_OPEN_TRAY;