Skip to content

Commit

Permalink
fix disappearing cdtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Feb 24, 2019
1 parent 804f543 commit 33cd465
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,10 +793,15 @@ Song::TidyUpData(bool from_cache, bool /* duringCache */)
// For blank args to FindFirstFilenameContaining. -Kyz
vector<RString> empty_list;

bool has_jacket = HasJacket();
bool has_cdimage = HasCDImage();
bool has_disc = HasDisc();
bool has_cdtitle = HasCDTitle();
// uhh this should like... not be like... this... -mina
m_sJacketPath = GetSongAssetPath(m_sJacketFile, m_sSongDir);
bool has_jacket = IsAFile(m_sJacketPath);
m_sCDPath = GetSongAssetPath(m_sCDFile, m_sSongDir);
bool has_cdimage = IsAFile(m_sCDPath);
m_sDiscPath = GetSongAssetPath(m_sDiscFile, m_sSongDir);
bool has_disc = IsAFile(m_sDiscPath);
m_sCDTitlePath = GetSongAssetPath(m_sCDTitleFile, m_sSongDir);
bool has_cdtitle = IsAFile(m_sCDTitlePath);

// First, check the file name for hints.
if (!m_bHasBanner) {
Expand Down

0 comments on commit 33cd465

Please sign in to comment.