[nstool] Removed accidentally committed debug code.

This commit is contained in:
jakcron 2018-10-25 20:45:39 +08:00
parent 148fe3da76
commit d5c49677fd

View file

@ -4,8 +4,6 @@
#include <fnd/io.h> #include <fnd/io.h>
#include "PfsProcess.h" #include "PfsProcess.h"
#include <fnd/SimpleTextOutput.h>
PfsProcess::PfsProcess() : PfsProcess::PfsProcess() :
mFile(), mFile(),
mCliOutputMode(_BIT(OUTPUT_BASIC)), mCliOutputMode(_BIT(OUTPUT_BASIC)),
@ -82,8 +80,6 @@ void PfsProcess::importHeader()
// open minimum header to get full header size // open minimum header to get full header size
scratch.alloc(sizeof(nn::hac::sPfsHeader)); scratch.alloc(sizeof(nn::hac::sPfsHeader));
(*mFile)->read(scratch.data(), 0, scratch.size()); (*mFile)->read(scratch.data(), 0, scratch.size());
std::cout << "raw pfs header: " << std::endl;
fnd::SimpleTextOutput::hxdStyleDump(scratch.data(), scratch.size());
if (validateHeaderMagic(((nn::hac::sPfsHeader*)scratch.data())) == false) if (validateHeaderMagic(((nn::hac::sPfsHeader*)scratch.data())) == false)
{ {
throw fnd::Exception(kModuleName, "Corrupt Header"); throw fnd::Exception(kModuleName, "Corrupt Header");