18 lines
425 B
Diff
18 lines
425 B
Diff
Author: Corey Wright <undefined@pobox.com>
|
|
Description: Adds support for DVD-ROM medium-type.
|
|
|
|
--- a/scsi-layer.c
|
|
+++ b/scsi-layer.c
|
|
@@ -890,6 +890,11 @@
|
|
break;
|
|
}
|
|
|
|
+ if(layer_type & 0x01)
|
|
+ { dh->typeDescr = g_strdup("DVD-ROM");
|
|
+ break;
|
|
+ }
|
|
+
|
|
if(layer_type & 0x06) /* strange thing: (re-)writeable but neither plus nor dash */
|
|
{ dh->typeDescr = g_strdup("DVD-ROM (fake)");
|
|
dh->subType = DVD;
|