Issuing message at begin of image loading
This commit is contained in:
parent
b79a0a1f04
commit
f8154d6fde
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.09.09.082406"
|
||||
#define Xorriso_timestamP "2008.09.11.114227"
|
||||
|
@ -426,7 +426,7 @@ int Xorriso_create_empty_iso(struct XorrisO *xorriso, int flag)
|
||||
*/
|
||||
int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
||||
{
|
||||
int ret, hret, not_writeable= 0, has_what, aquire_flag;
|
||||
int ret, hret, not_writeable= 0, has_what, aquire_flag, load_lba;
|
||||
uint32_t size;
|
||||
struct burn_drive_info *dinfo= NULL, *out_dinfo, *in_dinfo;
|
||||
struct burn_drive *drive, *out_drive, *in_drive;
|
||||
@ -583,6 +583,12 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
||||
if(xorriso->img_read_error_mode>0)
|
||||
iso_set_abort_severity("SORRY");
|
||||
|
||||
sprintf(xorriso->info_text,"Loading ISO image tree");
|
||||
ret= isoburn_disc_get_msc1(drive, &load_lba);
|
||||
if(ret > 0)
|
||||
sprintf(xorriso->info_text + strlen(xorriso->info_text),
|
||||
" from LBA %d", load_lba);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
ret= isoburn_read_image(drive, ropts, &volset);
|
||||
|
||||
/* <<< Resetting to normal thresholds */
|
||||
|
Loading…
Reference in New Issue
Block a user