From fe0982758ad5fd7bcd7c03f96a14abcc1fcbb447 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sun, 9 Aug 2009 08:16:37 +0000 Subject: [PATCH] *Forgot to remove my first though of updating WiiTDB --- source/prompts/PromptWindows.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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; }