[nostalgia/pack] Update for Keel

This commit is contained in:
Gary Talent 2023-11-30 00:56:53 -06:00
parent bb8fb0469a
commit c085c50b30

View File

@ -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"));
keel::TypeStore ts(ctx->rom.get(), "/.nostalgia/type_descriptors");
oxReturnError(generateTypes(&ts));
oxReturnError(keel::pack(ctx.get(), &ts, &dst));
oxReturnError(keel::pack(*ctx, ts, dst));
oxRequireM(pl, keel::GbaPreloader::make());
oxReturnError(preload(&ts, &dst, pl.get()));
oxReturnError(dst.resize());