diff --git a/src/spritecache.cpp b/src/spritecache.cpp --- a/src/spritecache.cpp +++ b/src/spritecache.cpp @@ -374,7 +374,7 @@ static bool PadSprites(SpriteLoader::Spr static bool ResizeSprites(SpriteLoader::SpriteCollection &sprite, uint8_t sprite_avail, SpriteEncoder *encoder) { /* Create a fully zoomed image if it does not exist */ - ZoomLevel first_avail = static_cast(FIND_FIRST_BIT(sprite_avail)); + ZoomLevel first_avail = static_cast(FindFirstBit(sprite_avail)); if (first_avail != ZOOM_LVL_NORMAL) { if (!ResizeSpriteIn(sprite, first_avail, ZOOM_LVL_NORMAL)) return false; SetBit(sprite_avail, ZOOM_LVL_NORMAL);