Skip to content

Commit

Permalink
Correct Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanquitas committed Feb 10, 2017
1 parent 11c5986 commit 208fe92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EXTENDEDMODE = 0

ifeq ($(EXTENDEDMODE), 1)
ifeq ($(FONZD), 1)
NAME := BootNTRSelectorMode-3-FONZD-Banner
NAME := BootNTRSelector-Mode-3-FONZD-Banner
endif

ifeq ($(PABLOMK7), 1)
Expand Down
26 changes: 4 additions & 22 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,6 @@ char *g_secondary_error = NULL;
char *g_third_error = NULL;
bool g_exit = false;

void action_launch_title_update(void)
{
Result res = 0;

if(R_SUCCEEDED(res = APT_PrepareToDoApplicationJump(0, 0x0004000000164800ul, 1))) {
u8 param[0x300];
u8 hmac[0x20];

res = APT_DoApplicationJump(param, sizeof(param), hmac);
}

if(R_FAILED(res))
{
newAppStatus(DEFAULT_COLOR, TINY, "Failed launch");
}
}

int main(void)
{
u32 keys;
Expand All @@ -54,20 +37,16 @@ int main(void)

u32 wifiStatus;
ACU_GetWifiStatus(&wifiStatus);
acExit();
if (wifiStatus)
{
amInit();
httpcInit(0);
if (launchUpdater())
{
newAppStatus(DEFAULT_COLOR, CENTER | BOLD | NEWLINE, "Updated !");
amExit();
httpcExit();
goto waitForExit;
}
amExit();
httpcExit();

}
}

Expand Down Expand Up @@ -149,6 +128,9 @@ int main(void)
configExit();
exitMainMenu();
exitUI();
acExit();
amExit();
httpcExit();
romfsExit();
drawExit();
gfxExit();
Expand Down

0 comments on commit 208fe92

Please sign in to comment.