From d3c43babf2a5a434589c15b565a3666bd1559356 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 26 Aug 2012 18:22:14 +0200 Subject: [PATCH] properly implement restarthbf option --- main/source/Prompts/prompt_end.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/source/Prompts/prompt_end.cpp b/main/source/Prompts/prompt_end.cpp index 31db709..506b584 100644 --- a/main/source/Prompts/prompt_end.cpp +++ b/main/source/Prompts/prompt_end.cpp @@ -7,6 +7,7 @@ #include "Tools/SelectIos.h" extern bool runaway; +extern bool restarthbf; /*** Extern variables ***/ extern GuiWindow * mainWindow; @@ -128,7 +129,7 @@ endPrompt() if(hbf.GetState() == STATE_CLICKED) { - WII_LaunchTitle(0x0001000154484246); + restarthbf = true; menu = MENU_EXIT; stop = true; }