We can exit cleanly without home button

This commit is contained in:
Michael Theall 2017-06-05 12:02:43 -05:00
parent f5f27646ee
commit c763e2d52f

View File

@ -96,20 +96,8 @@ main(int argc,
} }
#ifdef _3DS #ifdef _3DS
u64 id;
APT_GetProgramID(&id);
if(id != 0x000400000BEEF500)
{
console_print("Press B to exit\n"); console_print("Press B to exit\n");
loop(wait_for_b); loop(wait_for_b);
}
else
{
console_print("Press the Home Button to exit\n");
while(aptMainLoop())
console_render();
}
/* deinitialize 3DS services */ /* deinitialize 3DS services */
gfxExit(); gfxExit();