mirror of
https://github.com/astronautlevel2/Anemone3DS.git
synced 2026-01-24 00:32:43 -05:00
Start button functionality (#21)
* srvPublishToSubscriber
Pressing Start from the app now sends the user to the Power Off screen.
* *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.
* Bugfixes
This may work?
* Revert "Bugfixes"
This reverts commit 7c382d719a.
This commit is contained in:
@@ -86,10 +86,17 @@ int main(void)
|
||||
|
||||
if (kDown & KEY_START)
|
||||
{
|
||||
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