diff --git a/libisoburn/trunk/libisoburn/burn_wrap.c b/libisoburn/trunk/libisoburn/burn_wrap.c index 7e48ba0c..08f02bc1 100644 --- a/libisoburn/trunk/libisoburn/burn_wrap.c +++ b/libisoburn/trunk/libisoburn/burn_wrap.c @@ -659,16 +659,6 @@ void isoburn_disc_erase(struct burn_drive *drive, int fast) char zero_buffer[Libisoburn_target_head_sizE]; struct burn_multi_caps *caps= NULL; - role = burn_drive_get_drive_role(drive); - if (role == 5) { - /* libburn will truncate the random-access write-only file - to zero size and change its state */ - burn_disc_erase(drive, fast); - o->fabricated_disc_status= burn_disc_get_status(drive); - o->nwa= 0; - return; - } - ret= isoburn_find_emulator(&o, drive, 0); if(ret>0) { if(o->emulation_mode==-1) { @@ -676,7 +666,15 @@ void isoburn_disc_erase(struct burn_drive *drive, int fast) burn_drive_cancel(drive); goto ex; } - + role = burn_drive_get_drive_role(drive); + if (role == 5) { + /* libburn will truncate the random-access write-only file + to zero size and change its state */ + burn_disc_erase(drive, fast); + o->fabricated_disc_status= burn_disc_get_status(drive); + o->nwa= 0; + goto ex; + } if(o->emulation_mode > 0) { /* might be readonly with emulated sessions */ ret= burn_disc_get_multi_caps(drive, BURN_WRITE_NONE, &caps, 0); if(ret > 0 && caps->start_adr) diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 2ef5ae0e..a452c8bd 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.03.21.165533" +#define Xorriso_timestamP "2011.03.22.081408"