diff options
Diffstat (limited to 'drivers/cga.h')
-rw-r--r-- | drivers/cga.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cga.h b/drivers/cga.h index f0ca412..f4dfb3c 100644 --- a/drivers/cga.h +++ b/drivers/cga.h @@ -35,7 +35,7 @@ public: CGA_COLOR_WHITE = 15, }; - CGA(Colour fg = CGA_COLOR_BLACK, Colour bg = CGA_COLOR_LIGHT_GREY, uint32_t address = 0xB8000); + CGA(); ~CGA() = default; void set_colour(Colour fg, Colour bg); @@ -58,8 +58,8 @@ private: const size_t max_columns = 80, max_rows = 25; size_t column = 0, row = 0; - Colour colour_fg; - Colour colour_bg; + Colour colour_fg = CGA_COLOR_BLACK; + Colour colour_bg = CGA_COLOR_LIGHT_GREY; Entry* buffer; |