when saving a Profile, always make a Screenshots directory

This commit is contained in:
Chris Danford
2004-07-24 07:04:33 +00:00
parent 7f9639fc01
commit 79e457c272
3 changed files with 14 additions and 11 deletions
+10
View File
@@ -288,6 +288,16 @@ bool RageFileManager::Remove( CString sPath )
return Deleted;
}
void RageFileManager::CreateDir( CString sDir )
{
CString sTempFile = sDir + "temp";
RageFile f;
f.Open( sTempFile, RageFile::WRITE );
f.Close();
FILEMAN->Remove( sTempFile );
}
void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
{
LockMut( *g_Mutex );