From 854bb37ade27c0315b9c5746c80ddad4bbf05182 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Jun 2003 20:39:04 +0000 Subject: [PATCH] Be careful with HasBanner; it checks to see if the file exists, which involves scanning the directory, and doing that to a whole group of songs can take a long time. (I have unfinished code to speed this up, but we don't need this particular call anyway ...) --- stepmania/src/MusicWheel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index bfd44a99d2..b9e29a79d6 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -1109,8 +1109,8 @@ void MusicWheel::SetOpenGroup(CString group, SongSortOrder so) // // cache banners // - if(from[i].HasBanner() && PREFSMAN->m_BannerCacheType == PREFSMAN->preload_group) - TEXTUREMAN->CacheTexture( Banner::BannerTex(from[i].GetBanner()) ); +// if(from[i].HasBanner() && PREFSMAN->m_BannerCacheType == PREFSMAN->preload_group) +// TEXTUREMAN->CacheTexture( Banner::BannerTex(from[i].GetBanner()) ); }