Took into respect fabricated_disc_status
This commit is contained in:
parent
12f2deb828
commit
d7d8946ae1
@ -201,6 +201,9 @@ enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive)
|
||||
ret= isoburn_find_emulator(&o, drive, 0);
|
||||
if(ret<0)
|
||||
return(BURN_DISC_UNSUITABLE);
|
||||
if(o!=NULL)
|
||||
if(o->fabricated_disc_status!=BURN_DISC_UNREADY)
|
||||
return(o->fabricated_disc_status);
|
||||
if(ret==0)
|
||||
return(burn_disc_get_status(drive));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user