From 2c9b9630b38e7e890daf65ef7b65beb1f5a5783f Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Mon, 23 Jan 2023 13:36:05 +0100 Subject: 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. --- src/ppu.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ppu.c') 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) { } } +void +redraw(void) { + for (size_t i = 0; i < 21; i++) { + dirty_tiles[i] = 0xFFFFFFFF; + } +} + typedef struct KeyboardChar { int x; int y; -- cgit v1.2.1