[nostalgia,keel] Move core::TypeStore to Keel
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <keel/keel.hpp>
|
||||
|
||||
#include <nostalgia/appmodules/appmodules.hpp>
|
||||
#include <nostalgia/core/typestore.hpp>
|
||||
|
||||
using namespace nostalgia;
|
||||
|
||||
@@ -68,7 +67,7 @@ static ox::Error run(const ox::ClArgs &args) noexcept {
|
||||
oxReturnError(ox::FileSystem32::format(dstBuff.data(), dstBuff.size()));
|
||||
ox::FileSystem32 dst(ox::FileStore32(dstBuff.data(), dstBuff.size()));
|
||||
oxRequire(ctx, keel::init(ox::make_unique<ox::PassThroughFS>(argSrc), "nost-pack"));
|
||||
core::TypeStore ts(ctx->rom.get());
|
||||
keel::TypeStore ts(ctx->rom.get(), "/.nostalgia/type_descriptors");
|
||||
oxReturnError(generateTypes(&ts));
|
||||
oxReturnError(keel::pack(ctx.get(), &ts, &dst));
|
||||
oxRequireM(pl, keel::GbaPreloader::make());
|
||||
|
||||
Reference in New Issue
Block a user