Skip to content

Commit

Permalink
We can exit cleanly without home button
Browse files Browse the repository at this point in the history
  • Loading branch information
mtheall committed Jun 5, 2017
1 parent f5f2764 commit c763e2d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,8 @@ main(int argc,
}

#ifdef _3DS
u64 id;
APT_GetProgramID(&id);

if(id != 0x000400000BEEF500)
{
console_print("Press B to exit\n");
loop(wait_for_b);
}
else
{
console_print("Press the Home Button to exit\n");
while(aptMainLoop())
console_render();
}
console_print("Press B to exit\n");
loop(wait_for_b);

/* deinitialize 3DS services */
gfxExit();
Expand Down

0 comments on commit c763e2d

Please sign in to comment.