aboutsummaryrefslogtreecommitdiff
path: root/common/archive.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2008-11-21 13:29:53 +0000
committerWillem Jan Palenstijn2008-11-21 13:29:53 +0000
commit196e2cc92c894ea9449c96a10f2373fd605cc2dc (patch)
tree040c4e2d182fbbc8e3ace96b02b9a1d4328160be /common/archive.h
parenta28b531ed0a984aa89a6cbc55c0314ad52f304fb (diff)
downloadscummvm-rg350-196e2cc92c894ea9449c96a10f2373fd605cc2dc.tar.gz
scummvm-rg350-196e2cc92c894ea9449c96a10f2373fd605cc2dc.tar.bz2
scummvm-rg350-196e2cc92c894ea9449c96a10f2373fd605cc2dc.zip
refactor inconsistent calls to cacheDirectoryRecursive
svn-id: r35140
Diffstat (limited to 'common/archive.h')
-rw-r--r--common/archive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/archive.h b/common/archive.h
index a11d02e5af..90983ba9c7 100644
--- a/common/archive.h
+++ b/common/archive.h
@@ -165,6 +165,8 @@ class FSDirectory : public Archive {
// cache management
void cacheDirectoryRecursive(FSNode node, int depth, const String& prefix);
+ // fill cache if not already cached
+ void ensureCached();
bool _cached;
int _depth;