Merge pull request #1364 from lioncash/content

file-sys: Default heavy-weight class destructors in the cpp file
This commit is contained in:
bunnei
2018-09-20 23:31:31 -04:00
committed by GitHub
25 changed files with 45 additions and 1 deletions

View File

@ -69,6 +69,8 @@ NAX::NAX(VirtualFile file_, std::array<u8, 0x10> nca_id)
Common::HexArrayToString(nca_id, false)));
}
NAX::~NAX() = default;
Loader::ResultStatus NAX::Parse(std::string_view path) {
if (file->ReadObject(header.get()) != sizeof(NAXHeader))
return Loader::ResultStatus::ErrorBadNAXHeader;