|
|
|
@ -27,7 +27,7 @@ constexpr std::array partition_names{ |
|
|
|
|
|
|
|
XCI::XCI(VirtualFile file_) |
|
|
|
: file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA}, |
|
|
|
partitions(0x4) { |
|
|
|
partitions(partition_names.size()) { |
|
|
|
if (file->ReadObject(&header) != sizeof(GamecardHeader)) { |
|
|
|
status = Loader::ResultStatus::ErrorBadXCIHeader; |
|
|
|
return; |
|
|
|
|