mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:46:49 +00:00
Remove VFS cache, because it is less effective and less efficient than the OS cache (and partially redundant with higher level application caches).
Patch By: Sandarac Discussed with: Philip, echotangoecho, Bezerra Fixes #4072. Differential Revision: https://code.wildfiregames.com/D587 This was SVN commit r20639.
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ JS::Value Mod::GetAvailableMods(const ScriptInterface& scriptInterface)
|
||||
// Sort modDirs so that we can do a fast lookup below
|
||||
std::sort(modDirs.begin(), modDirs.end());
|
||||
|
||||
PIVFS vfs = CreateVfs(1); // No cache needed; TODO but 0 crashes
|
||||
PIVFS vfs = CreateVfs();
|
||||
|
||||
for (DirectoryNames::iterator iter = modDirs.begin(); iter != modDirs.end(); ++iter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user