[teagba] Cleanup
All checks were successful
Build / build (push) Successful in 1m20s

This commit is contained in:
2025-06-23 01:03:33 -05:00
parent b9ffae0269
commit c54c0bad38
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ GbaSpriteAttrUpdate &spriteAttr(size_t i) noexcept {
return g_spriteBuffer[i];
}
void addSpriteUpdate(const GbaSpriteAttrUpdate &upd) noexcept {
void addSpriteUpdate(GbaSpriteAttrUpdate const &upd) noexcept {
const auto ie = REG_IE; // disable vblank interrupt handler
REG_IE = REG_IE & static_cast<uint16_t>(~teagba::Int_vblank); // disable vblank interrupt handler
g_spriteBuffer[upd.idx] = upd;