(WiiU) fix a crash when using libfat with dkp r29.

This commit is contained in:
aliaspider 2017-01-25 23:32:06 +01:00
parent 1ebd8ab278
commit 292d4dd3da

View File

@ -590,13 +590,13 @@ int __entry_menu(int argc, char **argv)
{
InitFunctionPointers();
memoryInitialize();
fsdev_init();
__init();
fsdev_init();
int ret = main(argc, argv);
__fini();
fsdev_exit();
// __fini();
memoryRelease();
return ret;
}
@ -605,13 +605,13 @@ __attribute__((noreturn))
void _start(int argc, char **argv)
{
memoryInitialize();
fsdev_init();
__init();
fsdev_init();
int ret = main(argc, argv);
__fini();
fsdev_exit();
// __fini();
memoryRelease();
SYSRelaunchTitle(0, 0);
exit(0);