2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

file_sys/card_image: Use std::array deduction guides

Same thing, less code.
This commit is contained in:
Lioncash 2019-06-10 22:56:00 -04:00
parent 364932df3a
commit bf35138d1d
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -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},