diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-19 03:16:20 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-23 17:53:30 +0200 |
commit | a7e8d10969f280cd5a869b3525c3339357a958a6 (patch) | |
tree | 59e34b73d627cffab8cdbdf7e52ffdd6168c54fc /src/core/file_sys | |
parent | crypto: Eliminate magic constants (diff) | |
download | yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar.gz yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar.bz2 yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar.lz yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar.xz yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.tar.zst yuzu-a7e8d10969f280cd5a869b3525c3339357a958a6.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/registered_cache.cpp | 2 | ||||
-rw-r--r-- | src/core/file_sys/registered_cache.h | 1 | ||||
-rw-r--r-- | src/core/file_sys/sdmc_factory.h | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp index a128fa33d..a02efc71e 100644 --- a/src/core/file_sys/registered_cache.cpp +++ b/src/core/file_sys/registered_cache.cpp @@ -254,6 +254,8 @@ RegisteredCache::RegisteredCache(VirtualDir dir_, RegisteredCacheParsingFunction Refresh(); } +RegisteredCache::~RegisteredCache() = default; + bool RegisteredCache::HasEntry(u64 title_id, ContentRecordType type) const { return GetEntryRaw(title_id, type) != nullptr; } diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h index f48cf3146..7b8955dfa 100644 --- a/src/core/file_sys/registered_cache.h +++ b/src/core/file_sys/registered_cache.h @@ -63,6 +63,7 @@ public: explicit RegisteredCache(VirtualDir dir, RegisteredCacheParsingFunction parsing_function = [](const VirtualFile& file, const NcaID& id) { return file; }); + ~RegisteredCache(); void Refresh(); diff --git a/src/core/file_sys/sdmc_factory.h b/src/core/file_sys/sdmc_factory.h index bb579472c..4eac92621 100644 --- a/src/core/file_sys/sdmc_factory.h +++ b/src/core/file_sys/sdmc_factory.h @@ -4,11 +4,14 @@ #pragma once +#include <memory> #include "core/file_sys/vfs.h" #include "core/hle/result.h" namespace FileSys { +class RegisteredCache; + /// File system interface to the SDCard archive class SDMCFactory { public: |