diff options
author | Bad Diode <bd@badd10de.dev> | 2023-01-23 13:36:05 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-01-23 13:36:05 +0100 |
commit | 2c9b9630b38e7e890daf65ef7b65beb1f5a5783f (patch) | |
tree | 979cd45ae5a3ff85d5e8abb2aa13de1780b7bc62 /src/ppu.c | |
parent | 0af009f1c78fd678869a0313078c7d747510a989 (diff) | |
download | uxngba-2c9b9630b38e7e890daf65ef7b65beb1f5a5783f.tar.gz uxngba-2c9b9630b38e7e890daf65ef7b65beb1f5a5783f.zip |
Update UXN core to latest version
This modernizes the uxn core and emulator approach (dei/deo instead of
_talk), forgoing the previous uxn-fast core implementation. As
a consequence, there are some performance regressions. That tradeoff
gives us an easier way of keeping uxngba up to date as it follows more
closely the upstream version.
Diffstat (limited to 'src/ppu.c')
-rw-r--r-- | src/ppu.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -386,6 +386,13 @@ flipbuf(Ppu *p) { | |||
386 | } | 386 | } |
387 | } | 387 | } |
388 | 388 | ||
389 | void | ||
390 | redraw(void) { | ||
391 | for (size_t i = 0; i < 21; i++) { | ||
392 | dirty_tiles[i] = 0xFFFFFFFF; | ||
393 | } | ||
394 | } | ||
395 | |||
389 | typedef struct KeyboardChar { | 396 | typedef struct KeyboardChar { |
390 | int x; | 397 | int x; |
391 | int y; | 398 | int y; |