mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-26 06:34:17 +01:00
We can exit cleanly without home button
This commit is contained in:
parent
f5f27646ee
commit
c763e2d52f
@ -96,20 +96,8 @@ main(int argc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _3DS
|
#ifdef _3DS
|
||||||
u64 id;
|
console_print("Press B to exit\n");
|
||||||
APT_GetProgramID(&id);
|
loop(wait_for_b);
|
||||||
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* deinitialize 3DS services */
|
/* deinitialize 3DS services */
|
||||||
gfxExit();
|
gfxExit();
|
||||||
|
Loading…
Reference in New Issue
Block a user