mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
- fix minor mistake in last commit.
This commit is contained in:
parent
d08c4d4348
commit
8c3ab3b337
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 |
@ -1769,7 +1769,6 @@ int CMenu::_downloadBnrAll()
|
||||
|
||||
for(u32 i = 0; i < m_cacheList.size(); ++i)
|
||||
{
|
||||
|
||||
if(!fsop_FileExist(fmt("%s/%s.bnr", m_customBnrDir.c_str(), m_cacheList[i].id)))
|
||||
BnrIDList.push_back(m_cacheList[i].id);
|
||||
}
|
||||
@ -1803,7 +1802,7 @@ int CMenu::_downloadBnrAll()
|
||||
{
|
||||
string base_url_id6 = base_url;
|
||||
base_url_id6.replace(base_url_id6.find(GAME_BNR_ID), strlen(GAME_BNR_ID), BnrIDList[i]);
|
||||
banner_url = base_url.c_str();
|
||||
banner_url = base_url_id6.c_str();
|
||||
|
||||
string base_url_id3 = base_url;
|
||||
base_url_id3.replace(base_url_id3.find(GAME_BNR_ID), strlen(GAME_BNR_ID), BnrIDList[i].c_str(), 3);
|
||||
@ -1821,10 +1820,8 @@ int CMenu::_downloadBnrAll()
|
||||
{
|
||||
fsop_WriteFile(fmt("%s/%s.bnr", m_customBnrDir.c_str(), BnrIDList[i].c_str()), download.data, download.size);
|
||||
count++;
|
||||
if(download.data != NULL)
|
||||
free(download.data);
|
||||
}
|
||||
else if(download.data != NULL)
|
||||
if(download.data != NULL)
|
||||
free(download.data);
|
||||
update_pThread(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user