Bug fix: Bit 15 of iso_write_opts_set_system_area did not work with generic MBR
This commit is contained in:
parent
d7737e3ed5
commit
6282bbc0bc
@ -2128,7 +2128,7 @@ int iso_write_system_area(Ecma119Image *t, uint8_t *buf)
|
|||||||
if (sa_type == 0 && (
|
if (sa_type == 0 && (
|
||||||
(t->system_area_options & 3) ||
|
(t->system_area_options & 3) ||
|
||||||
(t->system_area_options & (1 << 14)) ||
|
(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)))
|
(t->system_area_options & (1 << 15)))
|
||||||
)) {
|
)) {
|
||||||
/* This is an MBR which shall have a bootable/active flag
|
/* This is an MBR which shall have a bootable/active flag
|
||||||
|
Loading…
Reference in New Issue
Block a user