Fix critical typo

This commit is contained in:
Pengfei
2021-08-04 21:43:24 +08:00
parent b4c506d802
commit fd1c2363eb
+2 -2
View File
@@ -176,8 +176,8 @@ bool NCCHContainer::Load() {
// System archives and DLC don't have an extended header but have RomFS
if (ncch_header.extended_header_size) {
if (file->ReadBytes(&exheader_header,
sizeof(exheader_header) != sizeof(exheader_header))) {
if (file->ReadBytes(&exheader_header, sizeof(exheader_header)) !=
sizeof(exheader_header)) {
LOG_ERROR(Service_FS, "Could not read exheader from file");
return false;
}