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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user