From 07629d0eb4908ef37a0a4313b03e2653ed6bc6c7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 19 Apr 2004 20:57:54 +0000 Subject: [PATCH] don't flush the whole directory cache after writing an SM --- stepmania/src/NotesWriterSM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/NotesWriterSM.cpp b/stepmania/src/NotesWriterSM.cpp index ad21a4f7b2..72cac14d45 100644 --- a/stepmania/src/NotesWriterSM.cpp +++ b/stepmania/src/NotesWriterSM.cpp @@ -5,6 +5,7 @@ #include "GameManager.h" #include "RageLog.h" #include "RageFile.h" +#include "RageFileManager.h" #include #include @@ -168,7 +169,7 @@ void NotesWriterSM::WriteSMNotesTag( const Steps &in, RageFile &f, bool bSavingC bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache) { /* Flush dir cache when writing steps, so the old size isn't cached. */ - FlushDirCache(); + FILEMAN->FlushDirCache( Dirname(sPath) ); unsigned i;