Fix build
All checks were successful
eden-license / license-header (pull_request) Successful in 35s

This commit is contained in:
MaranBr 2025-09-09 11:17:04 -04:00
parent 856b1ab5b8
commit 64066e2eb9

View file

@ -84,8 +84,9 @@ NCA::NCA(VirtualFile file_, const NCA* base_nca)
std::vector<VirtualFile> filesystems(fs_count); std::vector<VirtualFile> filesystems(fs_count);
for (s32 i = 0; i < fs_count; i++) { for (s32 i = 0; i < fs_count; i++) {
NcaFsHeaderReader header_reader; NcaFsHeaderReader header_reader;
const Result rc = fs.OpenStorage(&filesystems[i], &header_reader, i); fs.OpenStorage(&filesystems[i], &header_reader, i);
/*if (R_FAILED(rc)) { /*const Result rc = fs.OpenStorage(&filesystems[i], &header_reader, i);
if (R_FAILED(rc)) {
LOG_ERROR(Loader, "File reader errored out during read of section {}: {:#x}", i, LOG_ERROR(Loader, "File reader errored out during read of section {}: {:#x}", i,
rc.GetInnerValue()); rc.GetInnerValue());
status = Loader::ResultStatus::ErrorBadNCAHeader; status = Loader::ResultStatus::ErrorBadNCAHeader;