mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
- additional fixes for last commit
This commit is contained in:
parent
90fd389aac
commit
b7f4675c62
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -2834,6 +2834,9 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank
|
||||
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;
|
||||
|
||||
/* try to find the wfc texture file in the cache folder */
|
||||
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user