mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-18 00:29:21 +01:00
[Loader] Fixed loader when loaded from the browser hax
This commit is contained in:
parent
d949dc8bd1
commit
0e60a9bb48
@ -13,22 +13,23 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <dynamic_libs/os_functions.h>
|
#include <dynamic_libs/os_functions.h>
|
||||||
#include "dynamic_libs/gx2_functions.h"
|
#include <dynamic_libs/gx2_functions.h>
|
||||||
#include "dynamic_libs/ax_functions.h"
|
#include <dynamic_libs/ax_functions.h>
|
||||||
#include "dynamic_libs/socket_functions.h"
|
#include <dynamic_libs/socket_functions.h>
|
||||||
#include "dynamic_libs/sys_functions.h"
|
#include <dynamic_libs/sys_functions.h>
|
||||||
#include "dynamic_libs/fs_functions.h"
|
#include <dynamic_libs/fs_functions.h>
|
||||||
#include "dynamic_libs/nn_nim_functions.h"
|
#include <dynamic_libs/nn_nim_functions.h>
|
||||||
#include "dynamic_libs/vpad_functions.h"
|
#include <dynamic_libs/vpad_functions.h>
|
||||||
#include "dynamic_libs/padscore_functions.h"
|
#include <dynamic_libs/padscore_functions.h>
|
||||||
#include <dynamic_libs/proc_ui_functions.h>
|
#include <dynamic_libs/proc_ui_functions.h>
|
||||||
|
|
||||||
#include <utils/logger.h>
|
#include <utils/logger.h>
|
||||||
#include <fs/FSUtils.h>
|
#include <fs/FSUtils.h>
|
||||||
#include <fs/sd_fat_devoptab.h>
|
#include <fs/sd_fat_devoptab.h>
|
||||||
#include <utils/utils.h>
|
#include <utils/utils.h>
|
||||||
#include <system/exception_handler.h>
|
#include <system/exception_handler.h>
|
||||||
#include <system/memory.h>
|
#include <system/memory.h>
|
||||||
|
#include <kernel/kernel_utils.h>
|
||||||
|
|
||||||
|
|
||||||
#include "common/retain_vars.h"
|
#include "common/retain_vars.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
@ -128,6 +129,7 @@ extern "C" int Menu_Main(int argc, char **argv) {
|
|||||||
CallHook(WUPS_LOADER_HOOK_INIT_PLUGIN);
|
CallHook(WUPS_LOADER_HOOK_INIT_PLUGIN);
|
||||||
DEBUG_FUNCTION_LINE("Loading the system menu.\n");
|
DEBUG_FUNCTION_LINE("Loading the system menu.\n");
|
||||||
DeInit();
|
DeInit();
|
||||||
|
init_kernel_syscalls();
|
||||||
SYSLaunchMenu();
|
SYSLaunchMenu();
|
||||||
return EXIT_RELAUNCH_ON_LOAD;
|
return EXIT_RELAUNCH_ON_LOAD;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user