diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |