mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-25 11:16:52 +01:00
Add WUMS_MODULE_SKIP_WUT_INIT() macro to skip wut init/fini calls
This commit is contained in:
parent
d59c15531d
commit
a9aabcd149
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ include $(TOPDIR)/share/wums_rules
|
||||
|
||||
export WUMS_MAJOR := 0
|
||||
export WUMS_MINOR := 1
|
||||
export WUMS_PATCH := 1
|
||||
export WUMS_PATCH := 2
|
||||
|
||||
VERSION := $(WUMS_MAJOR).$(WUMS_MINOR).$(WUMS_PATCH)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user