Only flush the directory into which we're writing.

This commit is contained in:
Steve Checkoway
2006-09-16 03:44:47 +00:00
parent 1ce9e46fa3
commit 951741153b
+2 -1
View File
@@ -4,6 +4,7 @@
#include "NoteData.h"
#include "RageUtil.h"
#include "RageLog.h"
#include "RageFileManager.h"
#include "RageFile.h"
#include "NoteDataUtil.h"
#include "RageFile.h"
@@ -316,7 +317,7 @@ bool NotesWriterDWI::WriteDWINotesTag( RageFile &f, const Steps &out )
return false; // not supported by DWI
/* Flush dir cache when writing steps, so the old size isn't cached. */
FlushDirCache();
FILEMAN->FlushDirCache( Dirname(f.GetRealPath()) );
LOG->Trace( "Steps::WriteDWINotesTag" );