[nostalgia/tools/pack] Add verify, cleanup linking options, cleanup error handling

This commit is contained in:
2019-06-22 01:29:55 -05:00
parent 04929302d7
commit 6a5b16c644
4 changed files with 24 additions and 19 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ ox::Error run(ClArgs args) {
ox::FileSystem32::format(buff.data(), buff.size());
ox::PassThroughFS src(argSrc.c_str());
ox::FileSystem32 dst(ox::FileStore32(buff.data(), buff.size()));
oxReturnError(nostalgia::pack(&src, &dst));
auto err = nostalgia::pack(&src, &dst);
oxAssert(err, "pack failed");
oxReturnError(err);
return OxError(0);
}