From e2cac1d7db8f2665150a1307eeefd757be70ed20 Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Tue, 7 Nov 2017 19:31:55 -0600 Subject: [PATCH] Get Rid of Redundant ! --- src/core/file_sys/cia_container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_sys/cia_container.cpp b/src/core/file_sys/cia_container.cpp index ffd94cd8f..e96cdf33f 100644 --- a/src/core/file_sys/cia_container.cpp +++ b/src/core/file_sys/cia_container.cpp @@ -72,7 +72,7 @@ Loader::ResultStatus CIAContainer::Load(const std::string& filepath) { // Load Title Metadata std::vector tmd_data(cia_header.tmd_size); file.Seek(GetTitleMetadataOffset(), SEEK_SET); - if (!file.ReadBytes(tmd_data.data(), cia_header.tmd_size) != cia_header.tmd_size) + if (file.ReadBytes(tmd_data.data(), cia_header.tmd_size) != cia_header.tmd_size) return Loader::ResultStatus::Error; result = LoadTitleMetadata(tmd_data);