Only flush the directory cache of the screen shot directory.

This commit is contained in:
Steve Checkoway
2006-09-16 03:09:42 +00:00
parent 5265df4393
commit 363e726652
+1 -1
View File
@@ -1150,7 +1150,7 @@ RString StepMania::SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMak
//
// Find a file name for the screenshot
//
FlushDirCache();
FILEMAN->FlushDirCache( sDir );
vector<RString> files;
GetDirListing( sDir + "screen*", files, false, false );