And now Quirks Mode should be needed for .xml.

I'd rather try to find a way to support these again.
This commit is contained in:
Jason Felds
2011-05-20 21:36:27 -04:00
parent 3ea65b7bf2
commit 9c161e864a
+2
View File
@@ -133,6 +133,7 @@ void BackgroundUtil::GetBackgroundTransitions( const RString &_sName, vector<RSt
sName = "*"; sName = "*";
vsPathsOut.clear(); vsPathsOut.clear();
if( PREFSMAN->m_bQuirksMode )
GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".xml", vsPathsOut, false, true ); GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".xml", vsPathsOut, false, true );
GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".lua", vsPathsOut, false, true ); GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".lua", vsPathsOut, false, true );
@@ -241,6 +242,7 @@ void BackgroundUtil::GetGlobalBGAnimations( const Song *pSong, const RString &sM
{ {
vsPathsOut.clear(); vsPathsOut.clear();
GetDirListing( BG_ANIMS_DIR+sMatch+"*", vsPathsOut, true, true ); GetDirListing( BG_ANIMS_DIR+sMatch+"*", vsPathsOut, true, true );
if( PREFSMAN->m_bQuirksMode )
GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true ); GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true );
vsNamesOut.clear(); vsNamesOut.clear();