diff --git a/source/main.c b/source/main.c index d8b6f96..f2946f1 100644 --- a/source/main.c +++ b/source/main.c @@ -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) {