[ScreenSelectMusic] add a code for closing the current folder from any location (a la DDR X2)

[metric will be added with the next batch of theme commits]
This commit is contained in:
AJ Kelly
2010-07-06 17:07:38 -05:00
parent 398c7bb7cb
commit e42417df83
4 changed files with 25 additions and 0 deletions
+12
View File
@@ -739,6 +739,18 @@ bool ScreenSelectMusic::DetectCodes( const InputEventPlus &input )
AfterMusicChange();
}
}
else if( CodeDetector::EnteredCloseFolder(input.GameI.controller) )
{
if( GAMESTATE->IsAnExtraStageAndSelectionLocked() )
m_soundLocked.Play();
else
{
RString sCurSection = m_MusicWheel.GetSelectedSection();
m_MusicWheel.SelectSection(sCurSection);
m_MusicWheel.SetOpenSection("");
AfterMusicChange();
}
}
else
{
return false;