diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-02 14:42:55 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-04-02 14:42:55 -0400 |
| commit | 003072f957498a11b7fdcbb56892af0c281c85b3 (patch) | |
| tree | f7ded5b8b876e717b20ed4402e6582b6e7aeb7d2 /view/sharedcache/core/SharedCacheController.cpp | |
| parent | 49ea03c417168a707125169b77e6ff1c7ebbe097 (diff) | |
[SharedCache] Misc fixes and comments
Diffstat (limited to 'view/sharedcache/core/SharedCacheController.cpp')
| -rw-r--r-- | view/sharedcache/core/SharedCacheController.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/view/sharedcache/core/SharedCacheController.cpp b/view/sharedcache/core/SharedCacheController.cpp index 5b14d7ce..2dabefb5 100644 --- a/view/sharedcache/core/SharedCacheController.cpp +++ b/view/sharedcache/core/SharedCacheController.cpp @@ -83,6 +83,11 @@ DSCRef<SharedCacheController> SharedCacheController::Initialize(BinaryView& view dscView->m_regionFilter = std::regex(settings->Get<std::string>("loader.dsc.regionFilter", &view)); } + // TODO: Support old shared cache metadata + // TODO: Not strictly necessary as the user has already loaded the information into the database, this would just + // TODO: prevent incidental extra work from being done when loading a region or image. + // const uint64_t oldStateCount = view.GetUIntMetadata(OLD_METADATA_KEY_COUNT); + // Check the view auto metadata for shared cache information. // This effectively restores the state of the opened database to when it was last saved. // NOTE: We store on the parent view because hilariously, the metadata is not present until after view init. |
