[nostalgia/player] Fix build
All checks were successful
Build / build (push) Successful in 1m40s

This commit is contained in:
2025-07-25 22:54:43 -05:00
parent 7f6e734026
commit ceea6c7b27

View File

@ -38,7 +38,7 @@ static int testUpdateHandler(turbine::Context &tctx) noexcept {
spriteX += xmod;
spriteY += ymod;
constexpr ox::StringView sprites = "nostalgia";
for (unsigned i = 0; i < sprites.len(); ++i) {
for (unsigned i = 0; i < sprites.size(); ++i) {
auto const c = static_cast<unsigned>(sprites[i] - ('a' - 1));
gfx::setSprite(cctx, i, {
.enabled = true,