From 7d8a1149539c0d0fb5646c7b93006e7a80c33ee4 Mon Sep 17 00:00:00 2001 From: jaby Date: Tue, 23 Jan 2024 11:28:35 -0500 Subject: [PATCH] Use new PageOffset feature from SimpleTIM --- examples/PoolBox/application/src/application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PoolBox/application/src/application.cpp b/examples/PoolBox/application/src/application.cpp index 717e8741..9712cc25 100644 --- a/examples/PoolBox/application/src/application.cpp +++ b/examples/PoolBox/application/src/application.cpp @@ -39,8 +39,8 @@ static const Menu::SimpleMenu::Entry MenuEntries[] = { }; static const auto doener_fish = Make::SPRT( - Make::AreaI16(16, GPU::Display::Height - 64, 128, 64), // v this needs to be nicer! Has to be - Make::OffsetPageWithClut(Make::PageOffset(120, 0), Make::PageClut(Assets::Main::DoenerFishTIM.get_clut_position())), + Make::AreaI16(8, GPU::Display::Height - 64, 128, 64), // v this needs to be nicer! Has to be + Make::OffsetPageWithClut(Assets::Main::DoenerFishTIM.get_page_offset_clut4(), Make::PageClut(Assets::Main::DoenerFishTIM.get_clut_position())), GPU::Color24::Grey() );