Search
lxdream.org :: lxdream/src/gdrom/gdimage.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/gdimage.c
changeset 720:b5594d1ac80a
prev709:18c39a8e504c
next736:a02d1475ccfd
author nkeynes
date Sun Jul 06 03:17:32 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Add descriptive (localized) label to config entries for UI use
file annotate diff log raw
1.1 --- a/src/gdrom/gdimage.c Wed Jun 25 10:40:45 2008 +0000
1.2 +++ b/src/gdrom/gdimage.c Sun Jul 06 03:17:32 2008 +0000
1.3 @@ -441,7 +441,11 @@
1.4 static int gdrom_image_drive_status( gdrom_disc_t disc )
1.5 {
1.6 gdrom_image_t image = (gdrom_image_t)disc;
1.7 - return image->disc_type | IDE_DISC_READY;
1.8 + if( image->disc_type == IDE_DISC_NONE ) {
1.9 + return IDE_DISC_NONE;
1.10 + } else {
1.11 + return image->disc_type | IDE_DISC_READY;
1.12 + }
1.13 }
1.14
1.15 void gdrom_image_dump_info( gdrom_disc_t d ) {
.