1
0
Fork 0

fixed handling of adding/deleting files in dircache

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@646
This commit is contained in:
Ulf Wohlers 2003-01-20 10:54:26 +00:00
parent 516251e648
commit 02040d7086
3 changed files with 56 additions and 57 deletions

View file

@ -46,6 +46,7 @@ public:
void CacheOut (const char* path, bool ignoreLastDir = false);
void AddEntry (const char* path);
void DeleteEntry (const char* path, bool ignoreLastDir = false);
class CFileInfo {
public:
@ -83,6 +84,7 @@ private:
CFileInfo* dirBase;
CFileInfo* dirSearch;
char dirPath [CROSS_LEN];
char basePath [CROSS_LEN];
bool dirFirstTime;
TDirSort sortDirType;
CFileInfo* save_dir;
@ -109,6 +111,8 @@ public:
void CacheOut (const char* path, bool ignoreLastDir = false) {};
void AddEntry (const char* path) {};
void DeleteEntry (const char* path, bool ignoreLastDir = false);
public:
char basePath [CROSS_LEN];
char dirPath [CROSS_LEN];