Okay we use -9ms here because this counters the +9ms folks add to their charts. Ensure we clear the series map when freeing songs
This commit is contained in:
@@ -712,7 +712,7 @@ static void GlobalOffsetSeconds( int &sel, bool ToSel, const ConfOption *pConfOp
|
|||||||
|
|
||||||
static void MachineSyncBias( int &sel, bool ToSel, const ConfOption *pConfOption )
|
static void MachineSyncBias( int &sel, bool ToSel, const ConfOption *pConfOption )
|
||||||
{
|
{
|
||||||
constexpr std::array<float, 2> mapping = { 0.0f, 0.009f };
|
constexpr std::array<float, 2> mapping = { 0.0f, -0.009f };
|
||||||
MoveMap( sel, pConfOption, ToSel, mapping.data(), mapping.size() );
|
MoveMap( sel, pConfOption, ToSel, mapping.data(), mapping.size() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -599,6 +599,7 @@ void SongManager::FreeSongs()
|
|||||||
|
|
||||||
m_pSongs.clear();
|
m_pSongs.clear();
|
||||||
m_mapNameToGroup.clear();
|
m_mapNameToGroup.clear();
|
||||||
|
m_mapSeriesToGroups.clear();
|
||||||
m_SongsByDir.clear();
|
m_SongsByDir.clear();
|
||||||
|
|
||||||
// also free the songs that have been deleted from disk
|
// also free the songs that have been deleted from disk
|
||||||
|
|||||||
Reference in New Issue
Block a user