summaryrefslogtreecommitdiff
path: root/view/sharedcache
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-09-14 10:11:37 -0700
committerMark Rowe <mark@vector35.com>2025-09-17 20:45:26 -0700
commite422737a64a50fb95ca253df8f2fdc355d003280 (patch)
treea414e590eb3b248c946c09b10b5aaf069345141b /view/sharedcache
parente937b89628f3b3ce039d641fe849796cc295c41a (diff)
[DSC] Ignore .a2s files when loading a shared cache
These files are present alongside iOS 26 shared caches. Explicitly ignoring them avoids an error being logged to the console.
Diffstat (limited to 'view/sharedcache')
-rw-r--r--view/sharedcache/core/SharedCacheBuilder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/sharedcache/core/SharedCacheBuilder.cpp b/view/sharedcache/core/SharedCacheBuilder.cpp
index 5422d751..15b4b7ac 100644
--- a/view/sharedcache/core/SharedCacheBuilder.cpp
+++ b/view/sharedcache/core/SharedCacheBuilder.cpp
@@ -37,6 +37,9 @@ bool SharedCacheBuilder::AddFile(
// Skip bndb files!
if (fileName.find(".bndb") != std::string::npos)
return false;
+ // Skip a2s files
+ if (fileName.find(".a2s") != std::string::npos)
+ return false;
try
{