Explicitly cache #PEAKNPS instead of deriving it from NPSPerMeasure.
This commit is contained in:
@@ -465,6 +465,9 @@ static RString GetSSCNoteData( const Song &song, const Steps &in, bool bSavingCa
|
||||
|
||||
lines.push_back( ssprintf( "#NOTESPERMEASURE:%s;", join("|",notesPerMeasureStrings).c_str() ) );
|
||||
|
||||
const std::vector<float> &peakNps = in.GetAllPeakNps();
|
||||
lines.push_back("#PEAKNPS:" + serialize(peakNps, "|", 3) + ";");
|
||||
|
||||
// NOTE(MV): #STEPFILENAME has to be at the end of the cache tags,
|
||||
// because it's used in SSCLoader::LoadFromSimfile to determine when
|
||||
// to switch the state back to GETTING_SONG_INFO, which means any tags
|
||||
|
||||
Reference in New Issue
Block a user