DWI files can't get the speedy goodness.
Upgrade your files people!
This commit is contained in:
+5
-2
@@ -588,8 +588,11 @@ void Song::TidyUpData( bool fromCache, bool duringCache )
|
|||||||
// is the CDTitle.
|
// is the CDTitle.
|
||||||
|
|
||||||
CHECKPOINT_M( "Looking for images..." );
|
CHECKPOINT_M( "Looking for images..." );
|
||||||
|
// HACK: DWI files require searching the file system for this info.
|
||||||
|
RString extension = GetExtension(this->m_sSongFileName);
|
||||||
|
extension.MakeLower();
|
||||||
|
|
||||||
if( !duringCache )
|
if( extension == "dwi" || !duringCache )
|
||||||
{
|
{
|
||||||
|
|
||||||
// First, check the file name for hints.
|
// First, check the file name for hints.
|
||||||
@@ -804,7 +807,7 @@ void Song::TidyUpData( bool fromCache, bool duringCache )
|
|||||||
|
|
||||||
// If no BGChanges are specified and there are movies in the song directory, then assume
|
// If no BGChanges are specified and there are movies in the song directory, then assume
|
||||||
// they are DWI style where the movie begins at beat 0.
|
// they are DWI style where the movie begins at beat 0.
|
||||||
if( !HasBGChanges() && !duringCache )
|
if( extension == "dwi" || (!HasBGChanges() && !duringCache) )
|
||||||
{
|
{
|
||||||
vector<RString> arrayPossibleMovies;
|
vector<RString> arrayPossibleMovies;
|
||||||
GetDirListing( m_sSongDir + RString("*.ogv"), arrayPossibleMovies );
|
GetDirListing( m_sSongDir + RString("*.ogv"), arrayPossibleMovies );
|
||||||
|
|||||||
Reference in New Issue
Block a user