[WIP] Ensure FB is refreshed on initialization

This commit is contained in:
Bad Diode 2022-10-12 15:09:03 +02:00
parent 241ee5cfb2
commit bff3fc6dc6
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ ppu_init(void) {
// Clear framebuffer. // Clear framebuffer.
memset(framebuffer, 0xFF, len); memset(framebuffer, 0xFF, len);
write(refresh_file, "1", 1);
// Make sure we perform an initial screen drawing. // Make sure we perform an initial screen drawing.
reqdraw = 1; reqdraw = 1;