From 2b8dbb88b25158f7b9bd1e14291a9b9e2a154b15 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 17 Dec 2023 18:40:12 -0600 Subject: [PATCH] [teagba] Fix applySpriteUpdates to reset update counter --- deps/teagba/src/gfx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/teagba/src/gfx.cpp b/deps/teagba/src/gfx.cpp index 8db190b7..cdce26cd 100644 --- a/deps/teagba/src/gfx.cpp +++ b/deps/teagba/src/gfx.cpp @@ -35,6 +35,7 @@ void applySpriteUpdates() noexcept { const auto &oa = g_spriteBuffer[i]; MEM_OAM[oa.idx] = *reinterpret_cast(&oa); } + g_spriteUpdates = 0; } }