diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:16:10 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 05:19:28 +0200 |
commit | 4790bb907db5ff53b8bd62cc93c65fc2749b1fc4 (patch) | |
tree | e377a85ce1f6e25da0978595420bd7aef91b2dde /src/core/file_sys | |
parent | content_archive: Add missing standard includes (diff) | |
download | yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar.gz yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar.bz2 yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar.lz yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar.xz yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.tar.zst yuzu-4790bb907db5ff53b8bd62cc93c65fc2749b1fc4.zip |
Diffstat (limited to 'src/core/file_sys')
-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 { }; 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; } |