aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarvin Borner2020-07-26 14:34:54 +0200
committerMarvin Borner2020-07-26 14:34:54 +0200
commitd8410862be2f00bf2ce321bc28b8322f2de944a9 (patch)
treedb7895b12b9a5896b63c5dcf7af8133150e3c858 /src/main.c
parent0de8165d440c549847a1c600558305b04a36a77e (diff)
Added terminus font and config file
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2c7d063..bc1cb96 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
// MIT License, Copyright (c) 2020 Marvin Borner
+#include "config.h"
#include <boot.h>
#include <def.h>
#include <fs.h>
@@ -27,7 +28,7 @@ void main(struct mem_info *mem_info, struct vid_info *vid_info)
serial_install();
ls_root();
- gui_init("/font/spleen-16x32.psfu");
+ gui_init(FONT_PATH);
u32 c[] = { 0xff, 0xff, 0xff };
gui_write(0, 0, c, "Hello, world!");