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:
@@ -85,12 +85,19 @@ 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);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
exit_screens();
|
exit_screens();
|
||||||
exit_services();
|
exit_services();
|
||||||
PTMSYSM_RebootAsync(0);
|
PTMSYSM_RebootAsync(0);
|
||||||
ptmSysmExit();
|
ptmSysmExit();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (kDown & KEY_L)
|
else if (kDown & KEY_L)
|
||||||
{
|
{
|
||||||
splash_mode = !splash_mode;
|
splash_mode = !splash_mode;
|
||||||
|
|||||||
Reference in New Issue
Block a user