diff options
author | Marvin Borner | 2020-03-22 18:30:17 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-22 18:30:17 +0100 |
commit | cbf21c7f3cced00bd810f102cfa0581cf9b8c402 (patch) | |
tree | 260cbb8722caaccbb6c66fefa91a0db776101922 /src/kernel/graphics/vesa.c | |
parent | fa70aaf6f0ded7523662eb0fd4ac53a1b23ef27f (diff) |
Just some casual fixes
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r-- | src/kernel/graphics/vesa.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 +} |