diff --git a/source/prompts/PromptWindows.cpp b/source/prompts/PromptWindows.cpp index fed9f5aa..3215e0ef 100644 --- a/source/prompts/PromptWindows.cpp +++ b/source/prompts/PromptWindows.cpp @@ -2508,7 +2508,7 @@ int ProgressUpdateWindow() { if (newrev > 0) { sprintf(msg, "Rev%i %s.", newrev, tr("available")); - int choice = WindowPrompt(msg, tr("How do you want to update?"), tr("Update DOL"), tr("Update All"), tr("Update WiiTDB"), tr("Cancel")); + int choice = WindowPrompt(msg, tr("How do you want to update?"), tr("Update DOL"), tr("Update All"), tr("Cancel")); mainWindow->SetState(STATE_DISABLED); promptWindow.SetState(STATE_DEFAULT); mainWindow->ChangeFocus(&promptWindow); @@ -2601,17 +2601,6 @@ int ProgressUpdateWindow() { updateLanguageFiles(); } } - } else if(choice == 3) { - char wiitdbpath[150]; - msgTxt.SetTextf("%s", tr("Updating WiiTDB.zip")); - struct block file = downloadfile(XMLurl); - if (file.data != NULL) { - sprintf(wiitdbpath, "%swiitdb.zip", Settings.titlestxt_path); - FILE *pfile = fopen(wiitdbpath, "wb"); - fwrite(file.data,1,file.size,pfile); - fclose(pfile); - free(file.data); - } } else { failed = -1; }