From fbfc0afc89b6fd697acc568bf22b9c8a6e450975 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 9 Jun 2023 20:50:10 -0500 Subject: [PATCH] [nostalgia/core/gba] Update for Ox changes --- 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 fac4f9c8..c0496a3b 100644 --- a/src/nostalgia/core/gba/gfx.cpp +++ b/src/nostalgia/core/gba/gfx.cpp @@ -44,7 +44,7 @@ struct GbaTileMapTarget { }; constexpr ox::Error model(auto *io, ox::CommonPtrWith auto *t) noexcept { - io->template setTypeInfo(); + oxReturnError(io->template setTypeInfo()); const auto colorHandler = [t](std::size_t i, const Color16 *c) { t->palette[i] = *c; return OxError(0); @@ -53,7 +53,7 @@ constexpr ox::Error model(auto *io, ox::CommonPtrWith auto *t) } constexpr ox::Error model(auto *io, ox::CommonPtrWith auto *t) noexcept { - io->template setTypeInfo(); + oxReturnError(io->template setTypeInfo()); oxReturnError(io->field("bpp", &t->cbbData->bpp)); oxReturnError(io->field("defaultPalette", &t->defaultPalette)); uint16_t intermediate = 0;