diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-11 05:08:14 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-11 05:27:13 +0200 |
commit | e34368249f74bd3afa28d9153a8931b811c8f91b (patch) | |
tree | 1044c052dbff3d125e4afeda20db1b02622319d3 /src/core | |
parent | file_sys/card_image: Deduplicate type cast (diff) | |
download | yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar.gz yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar.bz2 yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar.lz yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar.xz yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.tar.zst yuzu-e34368249f74bd3afa28d9153a8931b811c8f91b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/card_image.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index 4375e01fa..d116d79c1 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -59,9 +59,7 @@ XCI::XCI(VirtualFile file_) secure_partition = std::make_shared<NSP>( main_hfs.GetFile(partition_names[static_cast<std::size_t>(XCIPartition::Secure)])); - const auto secure_ncas = secure_partition->GetNCAsCollapsed(); - std::copy(secure_ncas.begin(), secure_ncas.end(), std::back_inserter(ncas)); - + ncas = secure_partition->GetNCAsCollapsed(); program = secure_partition->GetNCA(secure_partition->GetProgramTitleID(), ContentRecordType::Program); program_nca_status = secure_partition->GetProgramStatus(secure_partition->GetProgramTitleID()); |