diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/content_archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h index d4517d20e..0b8b9db61 100644 --- a/src/core/file_sys/content_archive.h +++ b/src/core/file_sys/content_archive.h | |||
| @@ -53,7 +53,7 @@ struct NCAHeader { | |||
| 53 | }; | 53 | }; |
| 54 | static_assert(sizeof(NCAHeader) == 0x400, "NCAHeader has incorrect size."); | 54 | static_assert(sizeof(NCAHeader) == 0x400, "NCAHeader has incorrect size."); |
| 55 | 55 | ||
| 56 | inline bool IsDirectoryExeFS(std::shared_ptr<FileSys::VfsDirectory> pfs) { | 56 | inline bool IsDirectoryExeFS(const std::shared_ptr<VfsDirectory>& pfs) { |
| 57 | // According to switchbrew, an exefs must only contain these two files: | 57 | // According to switchbrew, an exefs must only contain these two files: |
| 58 | return pfs->GetFile("main") != nullptr && pfs->GetFile("main.npdm") != nullptr; | 58 | return pfs->GetFile("main") != nullptr && pfs->GetFile("main.npdm") != nullptr; |
| 59 | } | 59 | } |