From 8b2daec2b884dec9f9c105702d224dd15268b149 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Thu, 6 Mar 2003 13:38:13 +0000 Subject: [PATCH] Added virtual func SetDir in class DOS_Drive Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@720 --- include/dos_system.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dos_system.h b/include/dos_system.h index c7012ecf..c7bc88bd 100644 --- a/include/dos_system.h +++ b/include/dos_system.h @@ -96,6 +96,7 @@ public: virtual bool FileExists(const char* name)=0; virtual bool FileStat(const char* name, FileStat_Block * const stat_block)=0; virtual Bit8u GetMediaByte(void)=0; + virtual void SetDir(const char* path) { strcpy(curdir,path); }; char * GetInfo(void); char curdir[DOS_PATHLENGTH]; char info[256];