We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac7140 commit 305b7f2Copy full SHA for 305b7f2
bios/stage-2/src/main.rs
@@ -101,14 +101,14 @@ fn start(disk_number: u16, partition_table_start: *const u8) -> ! {
101
writeln!(screen::Writer, "{memory_map:x?}").unwrap();
102
103
// TODO: load these from the kernel's config instead of hardcoding
104
- let max_width = 1000;
105
- let max_height = 1000;
+ let max_width = 1280;
+ let max_height = 720;
106
107
let mut vesa_info = vesa::VesaInfo::query(disk_buffer).unwrap();
108
let vesa_mode = vesa_info
109
.get_best_mode(max_width, max_height)
110
.unwrap()
111
- .unwrap();
+ .expect("no suitable VESA mode found");
112
writeln!(
113
screen::Writer,
114
"VESA MODE: {}x{}",
0 commit comments