mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
Adds a config option to disable pruning if desired. Had to change FEXCore::HostFeatures slightly to remove the HostType from the Hash for caching, as we don't want the bucket to inadvertently delete wow64,arm64ec,linux buckets when executing in the same namespace. Minor changes to the DiskCache::Init code to handle returning two values, moving the HostType to be a part of the "ProcessBucketHash" instead of the "MachineBucketHash". Then uses the directory walking function added in the previous commit to find mismatched/old "MachineBucketHash" directories and remove them.