From 9edd68339437da174f14e2ecaaf7b6c54a4ff91f Mon Sep 17 00:00:00 2001 From: spikey Date: Sat, 17 Feb 2024 19:49:19 -0500 Subject: [PATCH] oops again --- sys/drv/vga/video.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/drv/vga/video.c b/sys/drv/vga/video.c index ed22f86..50c52a4 100644 --- a/sys/drv/vga/video.c +++ b/sys/drv/vga/video.c @@ -10,16 +10,15 @@ vga_write(s8 *sequence, s32 size, s8 flags) for (s32 i = 0; i <= VGA_SIZE; i++) { vga_vidmem[i] = sequence[using_size + i]; } + + return; } - u32 i = *vga_vidmem; while (*sequence != '\0') { - vga_vidmem[i] = *sequence; + vga_vidmem[unused++] = *sequence; *sequence++; - i++; vga_vidmem[unused++] = flags; - i++; } }