mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-05 20:34:33 +03:00
chainload: Fix bug where PARTITION was ignored if MBR_ID was set. Addresses #197
This commit is contained in:
parent
a41bc97e1b
commit
8a8b62fbcf
@ -117,6 +117,7 @@ noreturn void chainload(char *config) {
|
||||
volume_read(p, &mbr_id_1, 0x1b8, sizeof(uint32_t));
|
||||
|
||||
if (mbr_id_1 == mbr_id) {
|
||||
p = volume_get_by_coord(false, p->index, part);
|
||||
goto load;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user