diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index e9e3ee2c..94a49cd1 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -494,9 +494,9 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path, if(!(is_default && no_defaults)) Xorriso_status_result(xorriso,filter,fp,flag&2); - if(flag & 32) { + if((flag & 32) || xorriso->boot_img_full_size) { is_default= 0; - sprintf(line, "-boot_image %s load_size=full", form); + sprintf(line, "-boot_image %s load_size=full\n", form); } else { is_default= (load_size == 2048 || (flag & 4)); sprintf(line, "-boot_image %s load_size=%lu\n", diff --git a/xorriso/opts_a_c.c b/xorriso/opts_a_c.c index 330b3126..14acbc46 100644 --- a/xorriso/opts_a_c.c +++ b/xorriso/opts_a_c.c @@ -1122,6 +1122,7 @@ interval_text_long:; {ret= 0; goto ex;} } xorriso->boot_image_load_size= num; + xorriso->boot_img_full_size= 0; } xorriso->boot_img_size_default= 0; is_change= 1; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 3e21ba70..8fbb2314 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.12.18.085148" +#define Xorriso_timestamP "2024.12.20.154809"