[nostalgia/pack] Update for Keel
This commit is contained in:
parent
bb8fb0469a
commit
c085c50b30
@ -67,7 +67,7 @@ static ox::Error run(const ox::ClArgs &args) noexcept {
|
|||||||
oxRequire(ctx, keel::init(ox::make_unique<ox::PassThroughFS>(argSrc), "nost-pack"));
|
oxRequire(ctx, keel::init(ox::make_unique<ox::PassThroughFS>(argSrc), "nost-pack"));
|
||||||
keel::TypeStore ts(ctx->rom.get(), "/.nostalgia/type_descriptors");
|
keel::TypeStore ts(ctx->rom.get(), "/.nostalgia/type_descriptors");
|
||||||
oxReturnError(generateTypes(&ts));
|
oxReturnError(generateTypes(&ts));
|
||||||
oxReturnError(keel::pack(ctx.get(), &ts, &dst));
|
oxReturnError(keel::pack(*ctx, ts, dst));
|
||||||
oxRequireM(pl, keel::GbaPreloader::make());
|
oxRequireM(pl, keel::GbaPreloader::make());
|
||||||
oxReturnError(preload(&ts, &dst, pl.get()));
|
oxReturnError(preload(&ts, &dst, pl.get()));
|
||||||
oxReturnError(dst.resize());
|
oxReturnError(dst.resize());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user