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 7c382d719ac9f50af17d117f177c8bede75941f1.
This commit is contained in:
@@ -86,10 +86,17 @@ int main(void)
|
|||||||
|
|
||||||
if (kDown & KEY_START)
|
if (kDown & KEY_START)
|
||||||
{
|
{
|
||||||
exit_screens();
|
if(!envIsHomebrew())
|
||||||
exit_services();
|
{
|
||||||
PTMSYSM_RebootAsync(0);
|
srvPublishToSubscriber(0x202, 0);
|
||||||
ptmSysmExit();
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
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