mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
Use homebrew icon.png to make rough but serviceable homebrew covers
This commit is contained in:
parent
e6027ff49b
commit
0afba30306
@ -1166,7 +1166,15 @@ void CMenu::_initCF(void)
|
|||||||
if(m_gamelistdump)
|
if(m_gamelistdump)
|
||||||
m_dump.setWString(domain, id, m_gameList[i].title);
|
m_dump.setWString(domain, id, m_gameList[i].title);
|
||||||
|
|
||||||
|
if (m_current_view != COVERFLOW_HOMEBREW)
|
||||||
m_cf.addItem(&m_gameList[i], sfmt("%s/%s.png", m_picDir.c_str(), id.c_str()).c_str(), sfmt("%s/%s.png", m_boxPicDir.c_str(), id.c_str()).c_str(), playcount, lastPlayed);
|
m_cf.addItem(&m_gameList[i], sfmt("%s/%s.png", m_picDir.c_str(), id.c_str()).c_str(), sfmt("%s/%s.png", m_boxPicDir.c_str(), id.c_str()).c_str(), playcount, lastPlayed);
|
||||||
|
else {
|
||||||
|
string s = sfmt("%s", m_gameList[i].path);
|
||||||
|
string f = s.substr(0, s.find_last_of("/"));
|
||||||
|
|
||||||
|
m_cf.addItem(&m_gameList[i], sfmt("%s/icon.png", f.c_str()).c_str(), sfmt("%s/%s.png", m_boxPicDir.c_str(), id.c_str()).c_str(), playcount, lastPlayed);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_gcfg1.unload();
|
m_gcfg1.unload();
|
||||||
|
Loading…
Reference in New Issue
Block a user