From f0b359597a78e51e26f9de7b7d8ca3ef8dd91ed5 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 30 Mar 2021 02:34:05 -0500 Subject: [PATCH] [nostalgia/core/gba] Cleanup --- src/nostalgia/core/gba/gfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nostalgia/core/gba/gfx.cpp b/src/nostalgia/core/gba/gfx.cpp index 76f92045..6f1f671b 100644 --- a/src/nostalgia/core/gba/gfx.cpp +++ b/src/nostalgia/core/gba/gfx.cpp @@ -252,8 +252,8 @@ void clearTileLayer(Context*, int layer) { memset(&MEM_BG_MAP[layer], 0, GbaTileRows * GbaTileColumns); } - [[maybe_unused]] - void hideSprite(Context*, unsigned idx) { +[[maybe_unused]] +void hideSprite(Context*, unsigned idx) { oxAssert(g_spriteUpdates < config::GbaSpriteBufferLen, "Sprite update buffer overflow"); GbaSpriteAttrUpdate oa; oa.attr0 = 2 << 8;