From 834d43e7e9d662e0502bddb41246cad20eee28e3 Mon Sep 17 00:00:00 2001 From: puffer Date: Sat, 24 Feb 2024 18:59:48 +0100 Subject: [PATCH] Update wm.c --- src/system/wm/wm.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/system/wm/wm.c b/src/system/wm/wm.c index 136487c..bc1f631 100644 --- a/src/system/wm/wm.c +++ b/src/system/wm/wm.c @@ -34,12 +34,9 @@ void init_wm() { printf("%s\n", buf); } - char *img; - vfs_op_status ss = driver_read(vfs, 0x00000000, "/root/IMG_3930.tga", &img); - - if (ss == STATUS_OK) { - draw_targa_image(img, 2000000, 0, 0); - } + vfs_op_status ss = driver_read(vfs, 0x00000000, "", &img); + struct File *img_file = rd_get_file(rd, "/etc/fonts/nighterm.psf"); + draw_targa_image(img, 2000000, 0, 0); } \ No newline at end of file