mirror of
https://github.com/astronautlevel2/Anemone3DS.git
synced 2026-01-24 08:42:43 -05:00
*hax check
As per Sono, checks whether the current environment is *hax. If it isn't, it goes to the home screen; otherwise, it restarts the console.
This commit is contained in:
@@ -85,12 +85,18 @@ int main(void)
|
|||||||
else draw_splash_interface(splashes_list, splash_count, selected_splash, preview_mode);
|
else draw_splash_interface(splashes_list, splash_count, selected_splash, preview_mode);
|
||||||
|
|
||||||
if (kDown & KEY_START)
|
if (kDown & KEY_START)
|
||||||
|
{
|
||||||
|
if(!envIsHomebrew())
|
||||||
{
|
{
|
||||||
srvPublishToSubscriber(0x202, 0);
|
srvPublishToSubscriber(0x202, 0);
|
||||||
//exit_screens();
|
}
|
||||||
//exit_services();
|
else
|
||||||
//PTMSYSM_RebootAsync(0);
|
{
|
||||||
//ptmSysmExit();
|
exit_screens();
|
||||||
|
exit_services();
|
||||||
|
PTMSYSM_RebootAsync(0);
|
||||||
|
ptmSysmExit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (kDown & KEY_L)
|
else if (kDown & KEY_L)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user