mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 05:23:59 +00:00
Add X_RUNTIME_FUNCTION
This commit is contained in:
@@ -90,12 +90,6 @@ typedef struct _XEX_HEADER
|
||||
be<uint32_t> NumberOfOptionalHeaders;
|
||||
} XEX_HEADER;
|
||||
|
||||
typedef struct _X_RUNTIME_FUNCTION
|
||||
{
|
||||
be<DWORD> BeginAddress;
|
||||
be<DWORD> Flags; // honestly, no idea
|
||||
} X_RUNTIME_FUNCTION;
|
||||
|
||||
template<typename T>
|
||||
inline static const T* Xex2FindOptionalHeader(const void* base, const XEX_OPTIONAL_HEADER* headers, size_t n, _XEX_OPTIONAL_HEADER_TYPES type)
|
||||
{
|
||||
@@ -124,4 +118,4 @@ inline static const T* Xex2FindOptionalHeader(const XEX_HEADER* header, _XEX_OPT
|
||||
}
|
||||
|
||||
struct Image;
|
||||
Image Xex2LoadImage(const uint8_t* data);
|
||||
Image Xex2LoadImage(const uint8_t* data);
|
||||
|
Reference in New Issue
Block a user