summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-03 05:10:24 +0200
committerLioncash <mathew1800@gmail.com>2018-10-03 05:16:05 +0200
commitcf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01 (patch)
treefd914897b31899442183b7d648f65dbdcb9b3ab4
parentMerge pull request #1330 from raven02/tlds (diff)
downloadyuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar.gz
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar.bz2
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar.lz
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar.xz
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.tar.zst
yuzu-cf463a9b6734f19ca88c3b9d279b8fb8e8d9ab01.zip
-rw-r--r--src/core/file_sys/card_image.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp
index edfc1bbd4..8f5142a07 100644
--- a/src/core/file_sys/card_image.cpp
+++ b/src/core/file_sys/card_image.cpp
@@ -20,7 +20,9 @@ namespace FileSys {
constexpr std::array<const char*, 0x4> partition_names = {"update", "normal", "secure", "logo"};
-XCI::XCI(VirtualFile file_) : file(std::move(file_)), partitions(0x4) {
+XCI::XCI(VirtualFile file_)
+ : file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA},
+ partitions(0x4) {
if (file->ReadObject(&header) != sizeof(GamecardHeader)) {
status = Loader::ResultStatus::ErrorBadXCIHeader;
return;