mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2026-08-21 07:54:02 -05:00
Add WUMS_MODULE_SKIP_WUT_INIT() macro to skip wut init/fini calls
This commit is contained in:
@@ -53,6 +53,7 @@ extern "C" {
|
||||
#define WUMS_MODULE_DESCRIPTION(x) WUMS_META(description, x)
|
||||
#define WUMS_MODULE_SKIP_ENTRYPOINT() WUMS_META(skipEntrypoint, "true")
|
||||
#define WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK() WUMS_META(initBeforeRelocationDoneHook, "true")
|
||||
#define WUMS_MODULE_SKIP_WUT_INIT() WUMS_META(skipwutInit, "true")
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -55,10 +55,11 @@ struct module_information_single_t {
|
||||
uint32_t endAddress;
|
||||
uint8_t skipEntrypoint;
|
||||
uint8_t initBeforeRelocationDoneHook;
|
||||
uint8_t skipWUTInit;
|
||||
};
|
||||
|
||||
#define MAXIMUM_MODULES 8
|
||||
#define MODULE_INFORMATION_VERSION 0x00000002
|
||||
#define MODULE_INFORMATION_VERSION 0x00000003
|
||||
|
||||
struct module_information_t {
|
||||
uint32_t version = MODULE_INFORMATION_VERSION;
|
||||
|
||||
Reference in New Issue
Block a user