mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 09:02:44 -06:00
Merge pull request #3092 from BreadFish64/patch-1
Get Rid of Redundant ! in CIA loading code.
This commit is contained in:
commit
67df3c2c38
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ Loader::ResultStatus CIAContainer::Load(const std::string& filepath) {
|
||||||
// Load Title Metadata
|
// Load Title Metadata
|
||||||
std::vector<u8> tmd_data(cia_header.tmd_size);
|
std::vector<u8> tmd_data(cia_header.tmd_size);
|
||||||
file.Seek(GetTitleMetadataOffset(), SEEK_SET);
|
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;
|
return Loader::ResultStatus::Error;
|
||||||
|
|
||||||
result = LoadTitleMetadata(tmd_data);
|
result = LoadTitleMetadata(tmd_data);
|
||||||
|
|
Loading…
Reference in a new issue