mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 02:41:55 +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)
|
||||
m_dump.setWString(domain, id, m_gameList[i].title);
|
||||
|
||||
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);
|
||||
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);
|
||||
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();
|
||||
@ -1791,4 +1799,4 @@ void CMenu::UpdateCache(u32 view)
|
||||
}
|
||||
|
||||
m_cfg.setBool(domain, "update_cache", true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user