From 0eaf54bd22c3830911da04870867cbe3258167b0 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 15 Jun 2020 04:44:07 -0500 Subject: [PATCH] [nostalgia/tools/pack] Cleanup debug code --- src/nostalgia/tools/pack/pack.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nostalgia/tools/pack/pack.cpp b/src/nostalgia/tools/pack/pack.cpp index f9162aff..773cb9ff 100644 --- a/src/nostalgia/tools/pack/pack.cpp +++ b/src/nostalgia/tools/pack/pack.cpp @@ -35,7 +35,6 @@ namespace { // stub for now [[nodiscard]] ox::Error toMetalClaw(std::vector *buff) { auto [mc, err] = ox::stripClawHeader(ox::bit_cast(buff->data()), buff->size()); - std::cout << "buff size: " << buff->size() << '\n'; oxReturnError(err); buff->resize(mc.size()); ox_memcpy(buff->data(), mc.data(), mc.size()); @@ -46,7 +45,6 @@ namespace { // transformations need to be done after the copy to the new FS is complete [[nodiscard]] ox::Error transformClaw(ox::FileSystem32 *dest, std::string path) { // copy - std::cout << "transformClaw: path: " << path << '\n'; oxTrace("pack::transformClaw") << "path:" << path.c_str(); return dest->ls(path.c_str(), [dest, path](const char *name, ox::InodeId_t) { auto filePath = path + name; @@ -56,7 +54,6 @@ namespace { const auto dir = path + name + '/'; oxReturnError(transformClaw(dest, dir)); } else { - std::cout << filePath << '\n'; // do transforms if (endsWith(name, ".ng") || endsWith(name, ".npal")) { // load file @@ -124,7 +121,6 @@ struct VerificationPair { [[nodiscard]] ox::Error pack(ox::PassThroughFS *src, ox::FileSystem32 *dest) { oxReturnError(copy(src, dest, "/")); - std::cout << '\n'; oxReturnError(transformClaw(dest, "/")); return OxError(0); }