mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2024-11-22 01:39:19 +01:00
Add the macro for using the "init before entrypoint" flag
This commit is contained in:
parent
5286dc6bc8
commit
728b6e182c
@ -51,6 +51,7 @@ extern "C" {
|
||||
#define WUMS_MODULE_VERSION(x) WUMS_META(version, x)
|
||||
#define WUMS_MODULE_LICENSE(x) WUMS_META(license, x)
|
||||
#define WUMS_MODULE_DESCRIPTION(x) WUMS_META(description, x)
|
||||
#define WUMS_MODULE_INIT_BEFORE_ENTRYPOINT() WUMS_META(initBeforeEntrypoint, "true")
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -53,6 +53,7 @@ struct module_information_single_t {
|
||||
uint32_t entrypoint;
|
||||
uint32_t startAddress;
|
||||
uint32_t endAddress;
|
||||
uint8_t initBeforeEntrypoint;
|
||||
};
|
||||
|
||||
#define MAXIMUM_MODULES 8
|
||||
|
Loading…
Reference in New Issue
Block a user