*.* -> *
This commit is contained in:
@@ -244,7 +244,7 @@ void Background::LoadFromSong( Song* pSong )
|
|||||||
case MODE_ANIMATIONS:
|
case MODE_ANIMATIONS:
|
||||||
{
|
{
|
||||||
CStringArray arrayPossibleAnims;
|
CStringArray arrayPossibleAnims;
|
||||||
GetDirListing( BG_ANIMS_DIR+"*.*", arrayPossibleAnims, true, true );
|
GetDirListing( BG_ANIMS_DIR+"*", arrayPossibleAnims, true, true );
|
||||||
// strip out "cvs" and "danger
|
// strip out "cvs" and "danger
|
||||||
int i;
|
int i;
|
||||||
for( i=arrayPossibleAnims.size()-1; i>=0; i-- )
|
for( i=arrayPossibleAnims.size()-1; i>=0; i-- )
|
||||||
|
|||||||
@@ -1674,7 +1674,7 @@ void GameManager::GetNoteSkinNames( Game game, CStringArray &AddTo ) const
|
|||||||
GameDef* pGameDef = GAMEMAN->GetGameDefForGame( game );
|
GameDef* pGameDef = GAMEMAN->GetGameDefForGame( game );
|
||||||
|
|
||||||
CString sBaseSkinFolder = NOTESKIN_DIR + pGameDef->m_szName + "\\";
|
CString sBaseSkinFolder = NOTESKIN_DIR + pGameDef->m_szName + "\\";
|
||||||
GetDirListing( sBaseSkinFolder + "*.*", AddTo, true );
|
GetDirListing( sBaseSkinFolder + "*", AddTo, true );
|
||||||
|
|
||||||
// strip out "CVS"
|
// strip out "CVS"
|
||||||
for( int i=AddTo.size()-1; i>=0; i-- )
|
for( int i=AddTo.size()-1; i>=0; i-- )
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ void SongCacheIndex::ReadCacheIndex()
|
|||||||
|
|
||||||
LOG->Trace( "Cache format is out of date. Deleting all cache files." );
|
LOG->Trace( "Cache format is out of date. Deleting all cache files." );
|
||||||
CStringArray asCacheFileNames;
|
CStringArray asCacheFileNames;
|
||||||
GetDirListing( "Cache/*.*", asCacheFileNames );
|
GetDirListing( "Cache/*", asCacheFileNames );
|
||||||
for( unsigned i=0; i<asCacheFileNames.size(); i++ )
|
for( unsigned i=0; i<asCacheFileNames.size(); i++ )
|
||||||
DeleteFile( "Cache/" + asCacheFileNames[i] );
|
DeleteFile( "Cache/" + asCacheFileNames[i] );
|
||||||
CacheIndex.Reset();
|
CacheIndex.Reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user