Fix build
This commit is contained in:
parent
d110d88d56
commit
e6c2b1aead
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue