From 9c161e864a47ed8badf20b96d83f9f27ea0b1c9e Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 20 May 2011 21:36:27 -0400 Subject: [PATCH] And now Quirks Mode should be needed for .xml. I'd rather try to find a way to support these again. --- src/BackgroundUtil.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/BackgroundUtil.cpp b/src/BackgroundUtil.cpp index e0a697ee5c..b3ee90b671 100644 --- a/src/BackgroundUtil.cpp +++ b/src/BackgroundUtil.cpp @@ -133,7 +133,8 @@ void BackgroundUtil::GetBackgroundTransitions( const RString &_sName, vectorm_bQuirksMode ) + GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".xml", vsPathsOut, false, true ); GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".lua", vsPathsOut, false, true ); vsNamesOut.clear(); @@ -241,7 +242,8 @@ void BackgroundUtil::GetGlobalBGAnimations( const Song *pSong, const RString &sM { vsPathsOut.clear(); GetDirListing( BG_ANIMS_DIR+sMatch+"*", vsPathsOut, true, true ); - GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true ); + if( PREFSMAN->m_bQuirksMode ) + GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true ); vsNamesOut.clear(); FOREACH_CONST( RString, vsPathsOut, s )