From bff3fc6dc6a09e5e7acba24806567cc533f3cba0 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Wed, 12 Oct 2022 15:09:03 +0200 Subject: [PATCH] [WIP] Ensure FB is refreshed on initialization --- src/ppu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ppu.c b/src/ppu.c index bedf02d..dcf4e9c 100644 --- a/src/ppu.c +++ b/src/ppu.c @@ -209,6 +209,7 @@ ppu_init(void) { // Clear framebuffer. memset(framebuffer, 0xFF, len); + write(refresh_file, "1", 1); // Make sure we perform an initial screen drawing. reqdraw = 1;