aboutsummaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-05-23 14:21:57 +0200
committerBad Diode <bd@badd10de.dev>2021-05-23 14:21:57 +0200
commitb6878ffcd291a64bd1ab463e3da017a195bc2d0f (patch)
treea9004bda711ce8a8eca932a52037a5d2cc796cbb /src/text.h
parente73d10d09e10f2002122ea8d2cd878951b7eda0e (diff)
downloaduxngba-b6878ffcd291a64bd1ab463e3da017a195bc2d0f.tar.gz
uxngba-b6878ffcd291a64bd1ab463e3da017a195bc2d0f.zip
Update VRAM map to free space for sprite data
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index 06e3973..c27537f 100644
--- a/src/text.h
+++ b/src/text.h
@@ -6,6 +6,8 @@
6 6
7#include "common.h" 7#include "common.h"
8#include "bitmap.h" 8#include "bitmap.h"
9#include "posprintf.h"
10
9 11
10typedef enum { 12typedef enum {
11 TXT_MODE_TILED_BG, 13 TXT_MODE_TILED_BG,
@@ -246,7 +248,7 @@ txt_init_hybrid(TextMode mode, Font font, u32 *buf) {
246 // Prepare text engine. 248 // Prepare text engine.
247 text_engine.font = font; 249 text_engine.font = font;
248 text_engine.mode = mode; 250 text_engine.mode = mode;
249 text_engine.memory = *buf; 251 text_engine.memory = buf;
250} 252}
251 253
252// Print text to the screen with formatting. 254// Print text to the screen with formatting.