mirror of
https://codeberg.org/Limine/Limine
synced 2026-01-26 21:22:15 +00:00
gop: Fix mode count mismatch in get_mode_list()
This commit is contained in:
parent
e7a4c17658
commit
f92bec0534
@ -167,7 +167,7 @@ static struct fb_info *get_mode_list(size_t *count, EFI_GRAPHICS_OUTPUT_PROTOCOL
|
||||
pmm_free(ret, modes_count * sizeof(struct fb_info));
|
||||
ret = tmp;
|
||||
|
||||
*count = modes_count;
|
||||
*count = actual_count;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user