From cc5fda1626ac77a74459bcfe3c422be3c2a5267b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 7 Apr 2023 19:29:17 +0200 Subject: WIP more debugging --- src/ppu/stm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ppu/stm.c') diff --git a/src/ppu/stm.c b/src/ppu/stm.c index ddd62b9..ccf3566 100644 --- a/src/ppu/stm.c +++ b/src/ppu/stm.c @@ -6,6 +6,8 @@ void hh_ppu_init() { hh_ppu_update_aux((hh_s_ppu_loc_aux) { .sysreset = 1 }); + hh_ppu_vram_buffer((uint8_t[4]) { 0xff, 0xff, 0xff, 0xff }); + hh_ppu_flush(); } void hh_ppu_deinit() {} -- cgit v1.2.3