From db55fc722f7e23cf00c58c54a72770b53423a80e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 14 Apr 2025 22:03:08 -0500 Subject: [PATCH] [nostalgia/player] Cleanup --- src/nostalgia/player/app.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/nostalgia/player/app.cpp b/src/nostalgia/player/app.cpp index f658004b7..f43a6bf36 100644 --- a/src/nostalgia/player/app.cpp +++ b/src/nostalgia/player/app.cpp @@ -64,13 +64,10 @@ static void testKeyEventHandler(turbine::Context &tctx, turbine::Key key, bool d [[maybe_unused]] static ox::Error runTest(turbine::Context &tctx) { - constexpr ox::StringView TileSheetAddr{"/TileSheets/Charset.nts"}; - constexpr ox::StringView PaletteAddr{"/Palettes/Chester.npal"}; OX_REQUIRE_M(cctx, gfx::init(tctx)); turbine::setApplicationData(tctx, cctx.get()); - OX_REQUIRE(tsStat, turbine::rom(tctx)->stat(PaletteAddr)); - OX_RETURN_ERROR(gfx::loadSpriteTileSheet(*cctx, TileSheetAddr)); - OX_RETURN_ERROR(gfx::loadSpritePalette(*cctx, PaletteAddr)); + OX_RETURN_ERROR(gfx::loadSpriteTileSheet(*cctx, "/TileSheets/Charset.nts")); + OX_RETURN_ERROR(gfx::loadSpritePalette(*cctx, "/Palettes/Chester.npal")); OX_RETURN_ERROR(gfx::initConsole(*cctx)); gfx::puts(*cctx, 10, 9, "DOPENESS!!!"); turbine::setUpdateHandler(tctx, testUpdateHandler); @@ -86,7 +83,6 @@ static ox::Error runTileSheetSetTest(turbine::Context &tctx) { constexpr ox::StringView PaletteAddr{"/Palettes/Charset.npal"}; OX_REQUIRE_M(cctx, gfx::init(tctx)); turbine::setApplicationData(tctx, cctx.get()); - OX_REQUIRE(tsStat, turbine::rom(tctx)->stat(PaletteAddr)); gfx::TileSheetSet const set{ .bpp = 4, .entries = {