mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[boot] Stop picking largest video mode
For now, using VNC, I want to keep the framebuffer mode small, so I'm commenting out the bootloader's loop to pick the biggest video mode. I'll revisit this as a bootconfig option later.
This commit is contained in:
@@ -45,6 +45,7 @@ pick_mode(uefi::boot_services *bs)
|
||||
uint32_t res = info->horizontal_resolution * info->vertical_resolution;
|
||||
int pixmode = static_cast<int>(info->pixel_format);
|
||||
|
||||
/*
|
||||
const uint32_t modes = gop->mode->max_mode;
|
||||
for (uint32_t i = 0; i < modes; ++i) {
|
||||
size_t size = 0;
|
||||
@@ -63,6 +64,7 @@ pick_mode(uefi::boot_services *bs)
|
||||
pixmode = new_pixmode;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
screen *s = new screen;
|
||||
s->mode = {
|
||||
|
||||
Reference in New Issue
Block a user