[GlideHQ] cache > Cache #2

This commit is contained in:
Frank-74 2016-08-21 22:43:49 +01:00 committed by GitHub
parent 12a23107ec
commit f78f539d10
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ TxTexCache::~TxTexCache()
/* dump cache to disk */ /* dump cache to disk */
std::string filename = _ident + "_MEMORYCACHE.dat"; std::string filename = _ident + "_MEMORYCACHE.dat";
CPath cachepath(_path.c_str(), ""); CPath cachepath(_path.c_str(), "");
cachepath.AppendDirectory("cache"); cachepath.AppendDirectory("Cache");
int config = _options & (FILTER_MASK | ENHANCEMENT_MASK | COMPRESS_TEX | COMPRESSION_MASK | FORCE16BPP_TEX | GZ_TEXCACHE); int config = _options & (FILTER_MASK | ENHANCEMENT_MASK | COMPRESS_TEX | COMPRESSION_MASK | FORCE16BPP_TEX | GZ_TEXCACHE);
@ -67,7 +67,7 @@ TxCache((options & ~GZ_HIRESTEXCACHE), cachesize, path, ident, callback)
/* find it on disk */ /* find it on disk */
std::string filename = _ident + "_MEMORYCACHE.dat"; std::string filename = _ident + "_MEMORYCACHE.dat";
CPath cachepath(_path.c_str(), ""); CPath cachepath(_path.c_str(), "");
cachepath.AppendDirectory("cache"); cachepath.AppendDirectory("Cache");
int config = _options & (FILTER_MASK | ENHANCEMENT_MASK | COMPRESS_TEX | COMPRESSION_MASK | FORCE16BPP_TEX | GZ_TEXCACHE); int config = _options & (FILTER_MASK | ENHANCEMENT_MASK | COMPRESS_TEX | COMPRESSION_MASK | FORCE16BPP_TEX | GZ_TEXCACHE);
TxCache::load(cachepath, filename.c_str(), config); TxCache::load(cachepath, filename.c_str(), config);