1
0
Fork 0

Don't update the drive-label if one was specified at mount time. Be more flexible with directorie mounting (don't care about a trailing slash)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2057
This commit is contained in:
Peter Veenstra 2004-11-13 12:08:43 +00:00
parent 49cfc19efb
commit b2c2a02c97
3 changed files with 25 additions and 16 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_system.h,v 1.27 2004-11-03 23:13:53 qbix79 Exp $ */
/* $Id: dos_system.h,v 1.28 2004-11-13 12:08:42 qbix79 Exp $ */
#ifndef DOSSYSTEM_H_
#define DOSSYSTEM_H_
@ -127,7 +127,7 @@ public:
void DeleteEntry (const char* path, bool ignoreLastDir = false);
void EmptyCache (void);
void SetLabel (const char* name);
void SetLabel (const char* name,bool allowupdate=true);
char* GetLabel (void) { return label; };
class CFileInfo {
@ -185,6 +185,7 @@ private:
Bitu nextFreeFindFirst;
char label [CROSS_LEN];
bool updatelabel;
};
class DOS_No_Drive_Cache {