aboutsummaryrefslogtreecommitdiff
path: root/src/ppu/stm.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-07 19:29:17 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-07 19:29:17 +0200
commitcc5fda1626ac77a74459bcfe3c422be3c2a5267b (patch)
tree07b46ae1a507359ac241869c7c3e5887d80880d0 /src/ppu/stm.c
parent892424ba4d0c979e4351f7a866b6fe777783e4d2 (diff)
WIP more debugging
Diffstat (limited to 'src/ppu/stm.c')
-rw-r--r--src/ppu/stm.c2
1 files changed, 2 insertions, 0 deletions
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() {}