Added forgotten handling of pseudo-drives in burn_drive_grab()

ZeroFourZero
Thomas Schmitt 15 years ago
parent 277e3cfe29
commit 43a415a081
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 10
      libburn/drive.c

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.05.195248"
#define Cdrskin_timestamP "2007.09.06.094402"

@ -246,6 +246,16 @@ int burn_drive_grab(struct burn_drive *d, int le)
burn_print(1, "can't grab - already grabbed\n");
return 0;
}
if(d->drive_role != 1) {
d->released = 0;
if(d->drive_role == 2)
d->status = BURN_DISC_BLANK;
else
d->status = BURN_DISC_EMPTY;
d->busy = BURN_DRIVE_IDLE;
return 1;
}
d->status = BURN_DISC_UNREADY;
errcode = d->grab(d);

Loading…
Cancel
Save