summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-06-06 14:00:48 +0200
committerBad Diode <bd@badd10de.dev>2021-06-06 14:00:48 +0200
commitac0cced1c487e1b98d2b834d5b462d46a7732569 (patch)
treebb4fe60ca4a4a5cde365f935e082423e6c775a38
parentdc3a5260602357da1192ebc9f1f72bb436d1df00 (diff)
downloadgba-sequencer-ac0cced1c487e1b98d2b834d5b462d46a7732569.tar.gz
gba-sequencer-ac0cced1c487e1b98d2b834d5b462d46a7732569.zip
Fix a bug where font tilemap was not cleared fully
-rw-r--r--src/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.c b/src/renderer.c
index d587d01..4318610 100644
--- a/src/renderer.c
+++ b/src/renderer.c
@@ -384,7 +384,7 @@ renderer_init(void) {
384 dma_fill(FRONTBUF_TILEMAP, 0, KB(2), 3); 384 dma_fill(FRONTBUF_TILEMAP, 0, KB(2), 3);
385 dma_fill(BACKBUF, 0, KB(20), 3); 385 dma_fill(BACKBUF, 0, KB(20), 3);
386 dma_fill(FONT_DATA, 0, KB(8), 3); 386 dma_fill(FONT_DATA, 0, KB(8), 3);
387 dma_fill(FONT_TILEMAP, FONT_OFFSET, KB(2), 3); 387 dma_fill(FONT_TILEMAP, (FONT_OFFSET << 16) | FONT_OFFSET, KB(2), 3);
388 388
389 // Initialize default palette. 389 // Initialize default palette.
390 PAL_BUFFER_BG[0] = COLOR_BLACK; 390 PAL_BUFFER_BG[0] = COLOR_BLACK;