aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppu.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-01-23 13:36:05 +0100
committerBad Diode <bd@badd10de.dev>2023-01-23 13:36:05 +0100
commit2c9b9630b38e7e890daf65ef7b65beb1f5a5783f (patch)
tree979cd45ae5a3ff85d5e8abb2aa13de1780b7bc62 /src/ppu.c
parent0af009f1c78fd678869a0313078c7d747510a989 (diff)
downloaduxngba-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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ppu.c b/src/ppu.c
index 0f8fefd..1a13ba3 100644
--- a/src/ppu.c
+++ b/src/ppu.c
@@ -386,6 +386,13 @@ flipbuf(Ppu *p) {
386 } 386 }
387} 387}
388 388
389void
390redraw(void) {
391 for (size_t i = 0; i < 21; i++) {
392 dirty_tiles[i] = 0xFFFFFFFF;
393 }
394}
395
389typedef struct KeyboardChar { 396typedef struct KeyboardChar {
390 int x; 397 int x;
391 int y; 398 int y;