mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
- added no cheats available message instead of download failed, if no cheat's file is available on geckocodes.org.
This commit is contained in:
parent
8ba563cfd6
commit
26ad30f907
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 |
@ -33,8 +33,11 @@ int CMenu::_downloadCheatFileAsync()
|
|||||||
free(file.data);
|
free(file.data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(file.size > 0)
|
if(file.size > 0)// received a 301/302 redirect instead of a 404?
|
||||||
free(file.data);// received a 301/302 redirect instead of a 404?
|
{
|
||||||
|
free(file.data);
|
||||||
|
return -4;// the file doesn't exist on the server
|
||||||
|
}
|
||||||
return -3;// download failed
|
return -3;// download failed
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,6 +167,8 @@ void CMenu::_CheatSettings()
|
|||||||
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg2", L"Network initialization failed!"));
|
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg2", L"Network initialization failed!"));
|
||||||
else if(ret == -3)
|
else if(ret == -3)
|
||||||
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg12", L"Download failed!"));
|
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg12", L"Download failed!"));
|
||||||
|
else if(ret == -4)
|
||||||
|
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg35", L"No cheats available."));
|
||||||
else
|
else
|
||||||
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg14", L"Done."));
|
m_btnMgr.setText(m_wbfsLblDialog, _t("dlmsg14", L"Done."));
|
||||||
dl_finished = true;
|
dl_finished = true;
|
||||||
|
@ -300,6 +300,7 @@ dlmsg31=converting cover %i of %i
|
|||||||
dlmsg32=Downloading banner %i/%i
|
dlmsg32=Downloading banner %i/%i
|
||||||
dlmsg33=No banners missing.
|
dlmsg33=No banners missing.
|
||||||
dlmsg34=Banner URL not set properly!
|
dlmsg34=Banner URL not set properly!
|
||||||
|
dlmsg35=No cheats available.
|
||||||
dlmsg4=Saving %s
|
dlmsg4=Saving %s
|
||||||
dlmsg5=%i/%i files downloaded
|
dlmsg5=%i/%i files downloaded
|
||||||
dlmsg6=Canceling...
|
dlmsg6=Canceling...
|
||||||
|
Loading…
Reference in New Issue
Block a user