Пример #1
0
void
WHBProcShutdown()
{
   sRunning = FALSE;

   // If we're running from Homebrew Launcher we must do a SYSRelaunchTitle to
   // correctly return to HBL.
   if (sFromHBL) {
      SYSRelaunchTitle(0, NULL);
   }
}
Пример #2
0
void _start(int argc, char **argv)
{
   memoryInitialize();
   __init();
   fsdev_init();

   int ret = main(argc, argv);

   fsdev_exit();
//   __fini();
   memoryRelease();
   SYSRelaunchTitle(0, 0);
   exit(0);
}
Пример #3
0
void _start(int argc, char **argv)
{
   memoryInitialize();
   __init();
   fsdev_init();
   main(argc, argv);
   fsdev_exit();

   /* TODO: fix elf2rpl so it doesn't error with "Could not find matching symbol
      for relocation" then uncomment this */
#if 0
   __fini();
#endif
   memoryRelease();
   SYSRelaunchTitle(0, 0);
   exit(0);
}