[jasper/player] Update for new applib
This commit is contained in:
parent
425ef61dae
commit
e57e47498a
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user