*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:
Helloman892
2017-09-02 14:06:35 +01:00
parent 73268de4d1
commit 4b028d22b7

View File

@@ -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)
{ {