Added forgotten handling of pseudo-drives in burn_drive_grab()
This commit is contained in:
parent
277e3cfe29
commit
43a415a081
@ -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");
|
burn_print(1, "can't grab - already grabbed\n");
|
||||||
return 0;
|
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;
|
d->status = BURN_DISC_UNREADY;
|
||||||
errcode = d->grab(d);
|
errcode = d->grab(d);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user