summaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-04-29 16:06:34 +0200
committerBad Diode <bd@badd10de.dev>2021-04-29 16:06:34 +0200
commit3ec91ad217fb77ae1980b0b935e76307edf63ae1 (patch)
treea03bf45fa8b840c851232eaf71241d58b4e2e9b2 /src/text.h
parent430f41efe79e260c1bb44dfabd7a867104466db5 (diff)
downloadgba-experiments-3ec91ad217fb77ae1980b0b935e76307edf63ae1.tar.gz
gba-experiments-3ec91ad217fb77ae1980b0b935e76307edf63ae1.zip
Initial tests with playing DMG soundssound-demo
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index c852fc2..f178608 100644
--- a/src/text.h
+++ b/src/text.h
@@ -61,7 +61,7 @@ txt_init(size_t bg, Color clr, size_t cb_idx) {
61 // Load font data in video memory. Each character is unpacked into a tile of 61 // Load font data in video memory. Each character is unpacked into a tile of
62 // 8 32bit values (4bpp), meaning that for the full ASCII set of 256 62 // 8 32bit values (4bpp), meaning that for the full ASCII set of 256
63 // characters, we need 8192 bytes of VRAM (8 * 4 * 256). 63 // characters, we need 8192 bytes of VRAM (8 * 4 * 256).
64 unpack_tiles(&bd_font, &CHARBLOCK_MEM[cb_idx], 256); 64 unpack_tiles(&bd_font, &TILE_MEM[cb_idx], 256);
65 65
66 // Load palette color. 66 // Load palette color.
67 PAL_BUFFER_BG[1] = clr; 67 PAL_BUFFER_BG[1] = clr;