Added GetBackgroundColor call to the console struct. Will be used
later.
diff --git a/console/interface.c b/console/interface.c
index 6d9a252..515d9cc 100644
--- a/console/interface.c
+++ b/console/interface.c
@@ -274,6 +274,15 @@
driver.setBackgroundColor(fg, bg);
}
+void CONSOLE_GetBackgroundColor(int *fg, int *bg)
+{
+ if (!console_initialized)
+ console_initialized = CONSOLE_Init(driver.driver_list);
+
+ if (driver.getBackgroundColor)
+ driver.getBackgroundColor(fg, bg);
+}
+
void CONSOLE_WriteRawString(char *str)
{
if (!console_initialized)