mirror of
https://github.com/astronautlevel2/Anemone3DS.git
synced 2026-01-24 16:52: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:
@@ -86,11 +86,17 @@ int main(void)
|
||||
|
||||
if (kDown & KEY_START)
|
||||
{
|
||||
srvPublishToSubscriber(0x202, 0);
|
||||
//exit_screens();
|
||||
//exit_services();
|
||||
//PTMSYSM_RebootAsync(0);
|
||||
//ptmSysmExit();
|
||||
if(!envIsHomebrew())
|
||||
{
|
||||
srvPublishToSubscriber(0x202, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
exit_screens();
|
||||
exit_services();
|
||||
PTMSYSM_RebootAsync(0);
|
||||
ptmSysmExit();
|
||||
}
|
||||
}
|
||||
else if (kDown & KEY_L)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user