From e7e034949b6d78fbf0742d233358b5e25c308564 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 16 Sep 2006 03:39:11 +0000 Subject: [PATCH] Only flush the modified dir. Why do we need to flush this at all? --- stepmania/src/Profile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index b9b758ed28..12843870e4 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -914,7 +914,8 @@ bool Profile::SaveAllToDir( RString sDir, bool bSignData ) const FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR ); FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR ); - FlushDirCache(); + // XXX: Why do we need to flush here? + FILEMAN->FlushDirCache( sDir ); return bSaved; }