From ed9ae19afd9f31d1db85c9da4c75ee8d0c65cbda Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 16 Sep 2006 03:16:03 +0000 Subject: [PATCH] Only flush the screen shot directory. --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 366189f4e9..3c6e618a3b 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1204,7 +1204,7 @@ RString StepMania::SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMak // We wrote a new file, and SignFile won't pick it up unless we invalidate // the Dir cache. There's got to be a better way of doing this than // thowing out all the cache. -Chris - FlushDirCache(); + FILEMAN->FlushDirCache( sDir ); if( PREFSMAN->m_bSignProfileData && bMakeSignature ) CryptManager::SignFileToFile( sPath );