This commit is contained in:
Glenn Maynard
2003-12-08 00:05:55 +00:00
parent d62570c1fc
commit b5b947fe28
4 changed files with 15 additions and 14 deletions
+3 -2
View File
@@ -192,9 +192,10 @@ static bool CreateDirectories( CString Path )
return true;
}
RageFileObj *RageFileDriverDirect::Open( CString sPath, RageFile::OpenMode mode, RageFile &p, int &err )
RageFileObj *RageFileDriverDirect::Open( const CString &path, RageFile::OpenMode mode, RageFile &p, int &err )
{
sPath = root + sPath;
CString sPath = root + path;
/* XXX: make sure this will partially resolve. eg. if "abc/def" exists,
* and we're opening "ABC/DEF/GHI/jkl/mno", make sure this will resolve
* to "abc/def/GHI/jkl/mno"; we'll create the missing ones later. */