aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppu.c')
-rw-r--r--src/ppu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ppu.c b/src/ppu.c
index 0f8fefd..1a13ba3 100644
--- a/src/ppu.c
+++ b/src/ppu.c
@@ -386,6 +386,13 @@ flipbuf(Ppu *p) {
386 } 386 }
387} 387}
388 388
389void
390redraw(void) {
391 for (size_t i = 0; i < 21; i++) {
392 dirty_tiles[i] = 0xFFFFFFFF;
393 }
394}
395
389typedef struct KeyboardChar { 396typedef struct KeyboardChar {
390 int x; 397 int x;
391 int y; 398 int y;