Skip to content

Commit

Permalink
disable md5-checker for the moment (patcher)
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Aug 9, 2024
1 parent f58eaa2 commit 88070e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tools/patcher/DiabloUI/mainmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ static void MainmenuEsc()

static void MainmenuLoad()
{
int numOptions = 4;

gUIListItems.push_back(new UiListItem("Patch Assets", 0));
gUIListItems.push_back(new UiListItem("Merge Assets", 1));
gUIListItems.push_back(new UiListItem("Check Assets", 2));
gUIListItems.push_back(new UiListItem("Exit Patcher", 3));
const int numOptions = 3; // 4;
int currOption = 0;

gUIListItems.push_back(new UiListItem("Patch Assets", currOption++));
gUIListItems.push_back(new UiListItem("Merge Assets", currOption++));
// gUIListItems.push_back(new UiListItem("Check Assets", currOption++));
gUIListItems.push_back(new UiListItem("Exit Patcher", currOption++));
assert(numOptions == currOption);

LoadBackgroundArt("ui_art\\mainmenu.CEL", "ui_art\\menu.pal");

Expand Down
2 changes: 2 additions & 0 deletions tools/patcher/mainmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ void mainmenu_loop()
UiMergerDialog();
continue;
case 2:
#if 0
UiCheckerDialog();
continue;
case 3:
#endif
break;
default:
ASSUME_UNREACHABLE
Expand Down

0 comments on commit 88070e3

Please sign in to comment.