Skip to content

Commit

Permalink
on the path to bork
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 6, 2018
1 parent 2033098 commit 6fe555e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/ScreenSelectMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,25 +166,6 @@ ScreenSelectMusic::Init()
m_sLoopMusicPath = THEME->GetPathS(m_sName, "loop music");
m_sFallbackCDTitlePath = THEME->GetPathG(m_sName, "fallback cdtitle");

// surely we can devise a better way to handle loading cached images
/*
// load banners
if (PREFSMAN->m_ImageCache != IMGCACHE_OFF) {
m_TexturePreload.Load(
Banner::SongBannerTexture(THEME->GetPathG("Banner", "all music")));
m_TexturePreload.Load(Banner::SongBannerTexture(
THEME->GetPathG("Common", "fallback banner")));
m_TexturePreload.Load(
Banner::SongBannerTexture(THEME->GetPathG("Banner", "roulette")));
m_TexturePreload.Load(
Banner::SongBannerTexture(THEME->GetPathG("Banner", "random")));
m_TexturePreload.Load(
Banner::SongBannerTexture(THEME->GetPathG("Banner", "mode")));
}
// Load low-res banners and backgrounds if needed.
IMAGECACHE->Demand("Banner");
*/

// build the playlist groups here, songmanager's init from disk can't
// because profiles aren't loaded until after that's done -mina
Expand Down
2 changes: 2 additions & 0 deletions src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ Song::TidyUpData(bool from_cache, bool /* duringCache */)

m_sMusicPath = GetSongAssetPath(m_sMusicFile, m_sSongDir);
m_PreviewPath = GetSongAssetPath(m_PreviewFile, m_sSongDir);
if (m_PreviewPath.empty())
m_PreviewPath = m_sMusicPath;
FOREACH_ENUM(InstrumentTrack, it)
m_sInstrumentTrackPath[it] =
GetSongAssetPath(m_sInstrumentTrackFile[it], m_sSongDir);
Expand Down

0 comments on commit 6fe555e

Please sign in to comment.