use central update file, as it's same for all versions

This commit is contained in:
Christopher Roy Bratusek 2013-01-03 23:40:06 +01:00
parent 241e82e930
commit 237263468c

View File

@ -34,15 +34,7 @@ string CheckNewVersions()
string NewVersionsText()
{
string text = "error";
#ifdef STBOOTVWII
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st.vwii/updates.st.vwii");
#elif VWII
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.vwii/updates.vwii");
#elif STBOOT
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st/updates.st");
#else
struct block file = downloadfile("http://www.nanolx.org/hbf/DOL/updates");
#endif
struct block file = downloadfile("http://www.nanolx.org/hbf/updates");
if (file.data != NULL)
{
text = (char*)file.data;