Avoid wasting address space on currently-broken cache (see #611).

This was SVN commit r8371.
This commit is contained in:
Ykkrosh 2010-10-15 23:20:28 +00:00
parent 094ccc6a98
commit ee55b92667

View File

@ -337,6 +337,8 @@ static void InitScripting()
RegisterJavascriptInterfaces();
}
#if 0
// disabled because the file cache doesn't work (http://trac.wildfiregames.com/ticket/611)
static size_t OperatingSystemFootprint()
{
@ -401,7 +403,12 @@ static size_t ChooseCacheSize()
debug_printf(L"Cache: %d (total: %d; available: %d)\n", cache, total, available);
return cache*MiB;
}
#else
static size_t ChooseCacheSize()
{
return 32*MiB;
}
#endif
static void InitVfs(const CmdLineArgs& args)
{