diff --git a/src/nostalgia/player/app.cpp b/src/nostalgia/player/app.cpp index 0b555dc0..f192989c 100644 --- a/src/nostalgia/player/app.cpp +++ b/src/nostalgia/player/app.cpp @@ -147,9 +147,8 @@ static void sceneKeyEventHandler(turbine::Context &tctx, turbine::Key key, bool [[maybe_unused]] static ox::Error runScene(turbine::Context &tctx) { - constexpr ox::StringView SceneAddr{"/Scenes/Chester.nscn"}; OX_REQUIRE_M(cctx, gfx::init(tctx)); - OX_REQUIRE(scn, keel::readObj(keelCtx(tctx), SceneAddr)); + OX_REQUIRE(scn, keel::readObj(keelCtx(tctx), "/Scenes/Chester.nscn")); turbine::setUpdateHandler(tctx, sceneUpdateHandler); turbine::setKeyEventHandler(tctx, sceneKeyEventHandler); scene::Scene const scene(*scn); @@ -163,7 +162,7 @@ ox::Error run( [[maybe_unused]] ox::StringView projectDataDir, ox::SpanView args) noexcept { if (args.size() < 2) { - return ox::Error(1, "Please provide path to project directory or OxFS file."); + return ox::Error{1, "Please provide path to project directory or OxFS file."}; } auto const path = args[1]; OX_REQUIRE_M(fs, keel::loadRomFs(path));