make remount work

This commit is contained in:
Glenn Maynard
2005-01-27 03:54:49 +00:00
parent 67d5bfd6d5
commit 7df474b776
4 changed files with 15 additions and 5 deletions
+1
View File
@@ -176,6 +176,7 @@ bool RageFileDriverDirect::Remount( const CString &sPath )
root = sPath;
if( root.Right(1) != "/" )
root += '/';
((DirectFilenameDB *) FDB)->SetRoot( sPath );
/* If the root path doesn't exist, create it. */
CreateDirectories( root );