diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 | ||
10 | typedef enum { | 12 | typedef 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. |