don't flush the whole directory cache after writing an SM
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
#include "GameManager.h"
|
#include "GameManager.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageFile.h"
|
#include "RageFile.h"
|
||||||
|
#include "RageFileManager.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
|
||||||
@@ -168,7 +169,7 @@ void NotesWriterSM::WriteSMNotesTag( const Steps &in, RageFile &f, bool bSavingC
|
|||||||
bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
|
bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
|
||||||
{
|
{
|
||||||
/* Flush dir cache when writing steps, so the old size isn't cached. */
|
/* Flush dir cache when writing steps, so the old size isn't cached. */
|
||||||
FlushDirCache();
|
FILEMAN->FlushDirCache( Dirname(sPath) );
|
||||||
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user