From 6bbb43bb914626651484dd9cac071037915df58f Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Sat, 21 May 2011 14:55:01 +0700 Subject: [PATCH] show song BPM on BMS file (based on main steps type) instead of defaulting to 60. --- src/NotesLoaderBMS.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NotesLoaderBMS.cpp b/src/NotesLoaderBMS.cpp index 78964895b5..b87a603042 100644 --- a/src/NotesLoaderBMS.cpp +++ b/src/NotesLoaderBMS.cpp @@ -1188,6 +1188,9 @@ bool BMSLoader::LoadFromDir( const RString &sDir, Song &out ) delete pNewNotes; } + // set song's timing data to the main file. + out.m_SongTiming = apSteps[iMainDataIndex]->m_Timing; + SlideDuplicateDifficulties( out ); ConvertString( out.m_sMainTitle, "utf-8,japanese" );