summaryrefslogtreecommitdiffhomepage
path: root/src/internal/pe_entry_point.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/pe_entry_point.c')
-rw-r--r--src/internal/pe_entry_point.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c
index 4650824..9ea4c3f 100644
--- a/src/internal/pe_entry_point.c
+++ b/src/internal/pe_entry_point.c
@@ -1,7 +1,12 @@
#include <psxtypes/psxtypes.h>
+static const void * const pe_affiliation
+ __attr_section__(".freestd")
+ = 0;
+
int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved)
{
+ (void)pe_affiliation;
(void)hinstance;
(void)reason;
(void)reserved;