- additional fixes for last commit

This commit is contained in:
Fledge68 2019-03-27 18:29:34 -05:00
parent 90fd389aac
commit b7f4675c62
2 changed files with 6 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -2831,7 +2831,10 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank
if(!m_loadingCovers)
return CL_ERROR;
if(box && m_smallBox)//prevent smallbox from loading full box cover
if(box && m_smallBox)// prevent smallbox from loading full box cover
return CL_ERROR;
if(blankBoxCover && m_items[i].hdr->type == TYPE_SOURCE)// blank covers not used for sourceflow
return CL_ERROR;
bool allocFailed = false;
@ -2860,9 +2863,9 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank
strncpy(wfcTitle, getFilenameId(m_items[i].hdr), sizeof(wfcTitle) - 1);
/* get coverfolder for plugins, sourceflow, and homebrew */
if(m_items[i].hdr->type == TYPE_PLUGIN && m_pluginCacheFolders && !blankBoxCover)
if(m_items[i].hdr->type == TYPE_PLUGIN && m_pluginCacheFolders)
wfcCoverDir = m_plugin.GetCoverFolderName(m_items[i].hdr->settings[0]);
if(m_items[i].hdr->type == TYPE_SOURCE && !blankBoxCover)
if(m_items[i].hdr->type == TYPE_SOURCE)
wfcCoverDir = "sourceflow";
if(m_items[i].hdr->type == TYPE_HOMEBREW)
wfcCoverDir = "homebrew";