mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 14:16:57 +00:00
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
This commit is contained in:
parent
364932df3a
commit
bf35138d1d
|
@ -18,7 +18,12 @@
|
||||||
|
|
||||||
namespace FileSys {
|
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_)
|
XCI::XCI(VirtualFile file_)
|
||||||
: file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA},
|
: file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA},
|
||||||
|
|
Loading…
Reference in a new issue