[jasper/player] Update for new applib

This commit is contained in:
Gary Talent 2024-11-28 00:52:01 -06:00
parent 425ef61dae
commit e57e47498a

View File

@ -46,11 +46,10 @@ ox::Error run(
ox::StringView project, ox::StringView project,
[[maybe_unused]] ox::StringView appName, [[maybe_unused]] ox::StringView appName,
[[maybe_unused]] ox::StringView projectDataDir, [[maybe_unused]] ox::StringView projectDataDir,
int argc, ox::SpanView<char const*> args) noexcept {
char const**argv) noexcept {
auto path = "."; auto path = ".";
if (argc > 1) { if (args.size() > 1) {
path = argv[1]; path = args[1];
} }
oxRequireM(fs, keel::loadRomFs(path)); oxRequireM(fs, keel::loadRomFs(path));
oxRequireM(tctx, turbine::init(std::move(fs), project)); oxRequireM(tctx, turbine::init(std::move(fs), project));