From f12ce229aedaf996a653889564627f37b7e22d71 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 12 Jul 2011 15:54:42 +0000 Subject: [PATCH] Bug fix: Empty ROM drive was mistaken to hold an unsuitable disc --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/drive.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 003f151..6bdb857 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.155335" +#define Cdrskin_timestamP "2011.07.12.155417" diff --git a/libburn/drive.c b/libburn/drive.c index 2fee79e..ccf08a3 100644 --- a/libburn/drive.c +++ b/libburn/drive.c @@ -310,8 +310,9 @@ int burn_drive_inquire_media(struct burn_drive *d) if (d->current_profile == -1 || d->current_is_cd_profile) d->read_toc(d); - /* ts A70314 */ - d->status = BURN_DISC_UNSUITABLE; + /* ts A70314 , B10712 */ + if (d->status != BURN_DISC_EMPTY) + d->status = BURN_DISC_UNSUITABLE; } return 1; }