WIP: Framebuffer partial support, cursor & scoll TODO

This commit is contained in:
xamidev
2024-08-20 13:38:44 +02:00
parent 52a92a5358
commit f8eb658c33
7 changed files with 37 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ void draw_char(unsigned short int c, int cx, int cy, uint32_t fg, uint32_t bg)
int offs =
(cy * font->height * scanline) +
(cx * (font->width + 1) * sizeof(PIXEL));
(cx * (font->width) * sizeof(PIXEL));
unsigned int x, y;
int line, mask;