Browse Source
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
pull/15/merge
Lioncash
7 years ago
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
1 changed files with
6 additions and
1 deletions
-
src/core/file_sys/card_image.cpp
|
|
|
@ -18,7 +18,12 @@ |
|
|
|
|
|
|
|
namespace FileSys { |
|
|
|
|
|
|
|
constexpr std::array<const char*, 0x4> partition_names = {"update", "normal", "secure", "logo"}; |
|
|
|
constexpr std::array partition_names{ |
|
|
|
"update", |
|
|
|
"normal", |
|
|
|
"secure", |
|
|
|
"logo", |
|
|
|
}; |
|
|
|
|
|
|
|
XCI::XCI(VirtualFile file_) |
|
|
|
: file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA}, |
|
|
|
|