From f524eee6ffdd8dc1912e141ad92ff709c4f9bf35 Mon Sep 17 00:00:00 2001 From: Curle Date: Wed, 24 Jul 2019 01:37:06 +0100 Subject: [PATCH] More minor changes. Header and graphics had some one-liners. --- include/kernel.h | 5 +++-- kernel/graphics.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/kernel.h b/include/kernel.h index 57e3c61..58bce52 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -27,7 +27,8 @@ #include /* ==================== Custom Headers ==================== */ -//#include "AVX.h" +#include + /* ==================== EFI structs and constants ==================== */ @@ -341,7 +342,7 @@ typedef struct { uint32_t charBGColor; // BackGround Color uint32_t screenMinX; // Far left side of the screen uint32_t screenMinY; // Top of the screen - uint32_t ScreenScale; + uint32_t charScale; uint32_t cursorPos; uint32_t scrollMode; // Move screen up, or wraparound } PRINT_INFO; diff --git a/kernel/graphics.c b/kernel/graphics.c index 07b76bf..bc26b1a 100644 --- a/kernel/graphics.c +++ b/kernel/graphics.c @@ -17,7 +17,7 @@ // Get it? Default Font // Defaunt // Defont -#define DEFONT font88 +#define DEFONT bitfont_latin void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) { @@ -33,7 +33,7 @@ void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) { Print_Info.screenMinX = 0; Print_Info.screenMinY = 0; - Print_Info.ScreenScale = 1; + Print_Info.charScale = 1; Print_Info.cursorPos = 0; Print_Info.scrollMode = 0;