diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ void vga_scroll() { } } vga_y = VGA_HEIGHT - 1; - for (size_t x = 0; x < VGA_HEIGHT; x++) { + for (size_t x = 0; x < VGA_WIDTH; x++) { vga_buffer[vga_y * VGA_WIDTH + x] = ' ' | (vga_color << 8); } } |