mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 06:21:19 +12:00
Add support for WUHB file format (#1190)
This commit is contained in:
parent
f28043e0e9
commit
dc480ac00b
15 changed files with 617 additions and 3 deletions
|
@ -1230,6 +1230,16 @@ void wxGameList::AsyncWorkerThread()
|
|||
if(!titleInfo.Mount(tempMountPath, "", FSC_PRIORITY_BASE))
|
||||
continue;
|
||||
auto tgaData = fsc_extractFile((tempMountPath + "/meta/iconTex.tga").c_str());
|
||||
// try iconTex.tga.gz
|
||||
if (!tgaData)
|
||||
{
|
||||
tgaData = fsc_extractFile((tempMountPath + "/meta/iconTex.tga.gz").c_str());
|
||||
if (tgaData)
|
||||
{
|
||||
auto decompressed = zlibDecompress(*tgaData, 70*1024);
|
||||
std::swap(tgaData, decompressed);
|
||||
}
|
||||
}
|
||||
bool iconSuccessfullyLoaded = false;
|
||||
if (tgaData && tgaData->size() > 16)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue