diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-21 17:17:52 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-21 17:17:52 +0200 |
commit | af98fa608fb4ba98138e2b1239f173e6d74d6d86 (patch) | |
tree | 90fbdb03c81a61fef396cc22efcf3c1e2c2fdacd /src/text.h | |
parent | f59f673a721cf833bafed0705d2db01cd1f358a7 (diff) | |
download | uxngba-af98fa608fb4ba98138e2b1239f173e6d74d6d86.tar.gz uxngba-af98fa608fb4ba98138e2b1239f173e6d74d6d86.zip |
Add incomplete filesystem prototype
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ txt_putc_hybrid(char c) { | |||
132 | int x = text_engine.cursor_x; | 132 | int x = text_engine.cursor_x; |
133 | int y = text_engine.cursor_y; | 133 | int y = text_engine.cursor_y; |
134 | Tile *buf = text_engine.memory; | 134 | Tile *buf = text_engine.memory; |
135 | buf[x + y * 30] = tile; | 135 | buf[x + y * 32] = tile; |
136 | dirty_tiles[y] |= 1 << x; | 136 | dirty_tiles[y] |= 1 << x; |
137 | text_engine.cursor_x += 1; | 137 | text_engine.cursor_x += 1; |
138 | if (text_engine.cursor_x >= 30) { | 138 | if (text_engine.cursor_x >= 30) { |