New wrapper isoburn_disc_erasable() declares ISO DVD-RAM, DVD+RW erasable

This commit is contained in:
Thomas Schmitt 2007-09-09 18:16:24 +00:00
parent 6a99e0d412
commit 67133c895f

View File

@ -213,6 +213,19 @@ enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive)
}
int isoburn_disc_erasable(struct burn_drive *d)
{
int ret;
struct isoburn *o;
ret= isoburn_find_emulator(&o, d, 0);
if(ret>0)
if(o->emulation_mode==1)
return(1);
return burn_disc_erasable(d);
}
void isoburn_disc_erase(struct burn_drive *drive, int fast)
{
int ret;