mirror of
https://github.com/wiiu-env/WiiUModuleSystem.git
synced 2026-08-21 07:54:02 -05:00
Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT() to WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(), add WUMS_MODULE_SKIP_ENTRYPOINT()
- Bump module information version to 2 - Bump WUMS version to 0.1.1
This commit is contained in:
@@ -51,7 +51,8 @@ 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")
|
||||
#define WUMS_MODULE_SKIP_ENTRYPOINT() WUMS_META(skipEntrypoint, "true")
|
||||
#define WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK() WUMS_META(initBeforeRelocationDoneHook, "true")
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#define EXPORT_MAXIMUM_NAME_LENGTH 50
|
||||
typedef struct export_data_t {
|
||||
|
||||
@@ -53,11 +53,12 @@ struct module_information_single_t {
|
||||
uint32_t entrypoint;
|
||||
uint32_t startAddress;
|
||||
uint32_t endAddress;
|
||||
uint8_t initBeforeEntrypoint;
|
||||
uint8_t skipEntrypoint;
|
||||
uint8_t initBeforeRelocationDoneHook;
|
||||
};
|
||||
|
||||
#define MAXIMUM_MODULES 8
|
||||
#define MODULE_INFORMATION_VERSION 0x00000001
|
||||
#define MODULE_INFORMATION_VERSION 0x00000002
|
||||
|
||||
struct module_information_t {
|
||||
uint32_t version = MODULE_INFORMATION_VERSION;
|
||||
|
||||
Reference in New Issue
Block a user