summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCacheBuilder.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-14 01:55:04 -0400
committerMason Reed <mason@vector35.com>2025-04-14 03:20:51 -0400
commite311e603a8e7f855ce09f68cc45f08c35571144c (patch)
tree2f7910bdde0703158bbcc2e71f21eaf37271a2c8 /view/sharedcache/core/SharedCacheBuilder.cpp
parentb74c500aa9e5e7949ca46f42e0dc62e02136e259 (diff)
[SharedCache] Skip processing .atlas files
The atlas files include section name info on images, its not helpful for us and skipping it altogether will remove an unneeded error related to parsing this other format
Diffstat (limited to 'view/sharedcache/core/SharedCacheBuilder.cpp')
-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 3b370662..11fadefd 100644
--- a/view/sharedcache/core/SharedCacheBuilder.cpp
+++ b/view/sharedcache/core/SharedCacheBuilder.cpp
@@ -31,6 +31,9 @@ bool SharedCacheBuilder::AddFile(
// Skip map files, they contain some nice information... we don't use.
if (fileName.find(".map") != std::string::npos)
return false;
+ // Skip atlas files, they contain some nice information... we don't use.
+ if (fileName.find(".atlas") != std::string::npos)
+ return false;
// Skip bndb files!
if (fileName.find(".bndb") != std::string::npos)
return false;