|
|
@@ -53,7 +53,7 @@ struct NCAHeader {
|
|
|
};
|
|
|
static_assert(sizeof(NCAHeader) == 0x400, "NCAHeader has incorrect size.");
|
|
|
|
|
|
-inline bool IsDirectoryExeFS(std::shared_ptr<FileSys::VfsDirectory> pfs) {
|
|
|
+inline bool IsDirectoryExeFS(const std::shared_ptr<VfsDirectory>& pfs) {
|
|
|
// According to switchbrew, an exefs must only contain these two files:
|
|
|
return pfs->GetFile("main") != nullptr && pfs->GetFile("main.npdm") != nullptr;
|
|
|
}
|