Browse Source

Bug fix: Bit 15 of iso_write_opts_set_system_area did not work with generic MBR

release-1.5.4.branch
Thomas Schmitt 4 years ago
parent
commit
6282bbc0bc
  1. 2
      libisofs/system_area.c

2
libisofs/system_area.c

@ -2128,7 +2128,7 @@ int iso_write_system_area(Ecma119Image *t, uint8_t *buf)
if (sa_type == 0 && (
(t->system_area_options & 3) ||
(t->system_area_options & (1 << 14)) ||
(((t->system_area_options >> 2) & 0x3f) == 2 &&
(((t->system_area_options >> 10) & 15) != 1 &&
(t->system_area_options & (1 << 15)))
)) {
/* This is an MBR which shall have a bootable/active flag

Loading…
Cancel
Save