Bug fix: Empty ROM drive was mistaken to hold an unsuitable disc

This commit is contained in:
Thomas Schmitt 2011-07-12 15:54:42 +00:00
parent 58d8f3b3c2
commit f12ce229ae
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.07.12.155335" #define Cdrskin_timestamP "2011.07.12.155417"

View File

@ -310,7 +310,8 @@ int burn_drive_inquire_media(struct burn_drive *d)
if (d->current_profile == -1 || d->current_is_cd_profile) if (d->current_profile == -1 || d->current_is_cd_profile)
d->read_toc(d); d->read_toc(d);
/* ts A70314 */ /* ts A70314 , B10712 */
if (d->status != BURN_DISC_EMPTY)
d->status = BURN_DISC_UNSUITABLE; d->status = BURN_DISC_UNSUITABLE;
} }
return 1; return 1;