[teagba] Fix applySpriteUpdates to reset update counter
This commit is contained in:
parent
7bc1d90be8
commit
2b8dbb88b2
1
deps/teagba/src/gfx.cpp
vendored
1
deps/teagba/src/gfx.cpp
vendored
@ -35,6 +35,7 @@ void applySpriteUpdates() noexcept {
|
|||||||
const auto &oa = g_spriteBuffer[i];
|
const auto &oa = g_spriteBuffer[i];
|
||||||
MEM_OAM[oa.idx] = *reinterpret_cast<const uint64_t*>(&oa);
|
MEM_OAM[oa.idx] = *reinterpret_cast<const uint64_t*>(&oa);
|
||||||
}
|
}
|
||||||
|
g_spriteUpdates = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user