Changed start of overall isohybrid GPT partition from 0 to partition_offset
This commit is contained in:
parent
3b06d25a37
commit
083795cba2
@ -469,7 +469,8 @@ int assess_isohybrid_gpt_apm(Ecma119Image *t, int *gpt_count, int gpt_idx[128],
|
|||||||
/* Let it be open ended. iso_write_gpt() will truncate it as needed. */
|
/* Let it be open ended. iso_write_gpt() will truncate it as needed. */
|
||||||
block_count = 0xffffffff;
|
block_count = 0xffffffff;
|
||||||
ret = iso_quick_gpt_entry(t->gpt_req, &(t->gpt_req_count),
|
ret = iso_quick_gpt_entry(t->gpt_req, &(t->gpt_req_count),
|
||||||
(uint64_t) 0, ((uint64_t) block_count) * 4,
|
(uint64_t) t->opts->partition_offset * 4,
|
||||||
|
((uint64_t) block_count) * 4,
|
||||||
basic_data_uuid, zero_uuid, gpt_flags,
|
basic_data_uuid, zero_uuid, gpt_flags,
|
||||||
(uint8_t *) gpt_name);
|
(uint8_t *) gpt_name);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user