mirror of
https://github.com/limine-bootloader/limine
synced 2025-02-12 15:14:24 +03:00
disk: UEFI: Add additional sector_size == 2048 condition for is_optical
This commit is contained in:
parent
40a772033a
commit
705dfa92f6
@ -647,7 +647,7 @@ fail:
|
||||
|
||||
struct volume *block = ext_mem_alloc(sizeof(struct volume));
|
||||
|
||||
if (status || drive->Media->ReadOnly) {
|
||||
if ((status || drive->Media->ReadOnly) && drive->Media->BlockSize == 2048) {
|
||||
block->index = optical_indices++;
|
||||
block->is_optical = true;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user