From cbf21c7f3cced00bd810f102cfa0581cf9b8c402 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 22 Mar 2020 18:30:17 +0100 Subject: Just some casual fixes --- src/kernel/graphics/vesa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/graphics/vesa.c') diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index da57da1..45a68d9 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -181,8 +181,9 @@ void set_optimal_resolution() // Everything else failed :( if (highest == 0) switch_to_vga(); - } else + } else { vga_log("Mode detection succeeded"); + } vbe_set_mode(highest); @@ -193,7 +194,6 @@ void set_optimal_resolution() paging_map((uint32_t)cursor_buffer + z, (uint32_t)cursor_buffer + z, PT_PRESENT | PT_RW | PT_USED); } - serial_printf("0x%x", fb); if (vbe_height > 1440) vesa_set_font(32); @@ -375,4 +375,4 @@ void vesa_set_color(uint32_t color) { vesa_convert_color(terminal_color, color); vesa_convert_color(terminal_background, default_background_color); -} \ No newline at end of file +} -- cgit v1.2.3