mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-26 14:05:32 +00:00
Get Rid of Redundant !
This commit is contained in:
parent
7d12aaaa20
commit
e2cac1d7db
|
@ -72,7 +72,7 @@ Loader::ResultStatus CIAContainer::Load(const std::string& filepath) {
|
|||
// Load Title Metadata
|
||||
std::vector<u8> 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);
|
||||
|
|
Loading…
Reference in a new issue