-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fix for channels video modes broken in 5.5.0
- now always use coverfolder for plugins - v5.5.1
- Loading branch information
Showing
11 changed files
with
99 additions
and
114 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,7 +204,6 @@ CCoverFlow::CCoverFlow(void) | |
m_compressTextures = true; | ||
m_compressCache = false; | ||
m_deletePicsAfterCaching = false; | ||
m_pluginCacheFolders = false; | ||
m_box = true; | ||
m_smallBox = false; | ||
m_useHQcover = false; | ||
|
@@ -263,10 +262,9 @@ CCoverFlow::~CCoverFlow(void) | |
LWP_MutexDestroy(m_mutex); | ||
} | ||
|
||
void CCoverFlow::setCachePath(const char *path, bool pluginCacheFolders) | ||
void CCoverFlow::setCachePath(const char *path) | ||
{ | ||
m_cachePath = path; | ||
m_pluginCacheFolders = pluginCacheFolders; | ||
} | ||
|
||
void CCoverFlow::setTextureQuality(float lodBias, int aniso, bool edgeLOD) | ||
|
@@ -2769,7 +2767,7 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank | |
strncpy(wfcTitle, fmt("%s", 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) | ||
if(m_items[i].hdr->type == TYPE_PLUGIN) | ||
wfcCoverDir = m_plugin.GetCoverFolderName(m_items[i].hdr->settings[0]); | ||
if(m_items[i].hdr->type == TYPE_SOURCE) | ||
wfcCoverDir = "sourceflow"; | ||
|
@@ -2782,7 +2780,17 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank | |
if(m_smallBox) | ||
strncpy(full_path, fmt("%s/%s/%s_small.wfc", m_cachePath.c_str(), wfcCoverDir, wfcTitle), MAX_FAT_PATH); | ||
else | ||
{ | ||
strncpy(full_path, fmt("%s/%s/%s.wfc", m_cachePath.c_str(), wfcCoverDir, wfcTitle), MAX_FAT_PATH); | ||
/*if(!fsop_FileExist(full_path)) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Fledge68
Author
Owner
|
||
{ | ||
if(strrchr(wfcTitle, '.') != NULL) | ||
{ | ||
*strrchr(wfcTitle, '.') = '\0'; | ||
strncpy(full_path, fmt("%s/%s/%s.wfc", m_cachePath.c_str(), wfcCoverDir, wfcTitle), MAX_FAT_PATH); | ||
} | ||
}*/ | ||
} | ||
} | ||
else | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
The block is commented out. Could it be removed?