mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
- added downloading and saving messages when downloading cheats.
This commit is contained in:
parent
982c761ab5
commit
24ce6136e4
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 3.6 MiB |
@ -20,14 +20,16 @@ int CMenu::_downloadCheatFileAsync()
|
||||
{
|
||||
return -2;
|
||||
}
|
||||
|
||||
m_thrdMessage = _t("dlmsg11", L"Downloading...");
|
||||
m_thrdMessageAdded = true;
|
||||
|
||||
const char *id = CoverFlow.getId();
|
||||
//char type = id[0] == 'S' ? 'R' : id[0];
|
||||
|
||||
struct download file = {};
|
||||
downloadfile(fmt(GECKOURL, id), &file);
|
||||
if(file.size > 0 && file.data[0] != '<')
|
||||
{
|
||||
m_thrdMessage = _t("dlmsg13", L"Saving...");
|
||||
m_thrdMessageAdded = true;
|
||||
update_pThread(1);// its downloaded
|
||||
fsop_WriteFile(fmt("%s/%s.txt", m_txtCheatDir.c_str(), id), file.data, file.size);
|
||||
free(file.data);
|
||||
|
Loading…
Reference in New Issue
Block a user