diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-06-24 19:10:17 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-24 19:10:17 -0400 |
| commit | fb8b87dbafbaea0fbb39901fbe83699c015a6df0 (patch) | |
| tree | 180dd7b98313f3db6134ef76e12ee78a6d17d4c9 /src/core/file_sys/registered_cache.h | |
| parent | 7891b418d46e4cd7cc6d3135cd0ec66bb4f2dfa5 (diff) | |
registered_cache: Add getter to determine source slot in content provider union
Used to determine StorageId source for application data.
Diffstat (limited to 'src/core/file_sys/registered_cache.h')
| -rw-r--r-- | src/core/file_sys/registered_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h index ec9052653b..4398d63e1f 100644 --- a/src/core/file_sys/registered_cache.h +++ b/src/core/file_sys/registered_cache.h @@ -199,6 +199,9 @@ public: std::optional<TitleType> title_type = {}, std::optional<ContentRecordType> record_type = {}, std::optional<u64> title_id = {}) const; + std::optional<ContentProviderUnionSlot> GetSlotForEntry(u64 title_id, + ContentRecordType type) const; + private: std::map<ContentProviderUnionSlot, ContentProvider*> providers; }; |
