summaryrefslogtreecommitdiffhomepage
path: root/src/internal/pe_entry_point.c
blob: 0c3154d9117f480a3859cae7b9ac0406a3061181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <psxtypes/psxtypes.h>
#include <psxtypes/section/freestd.h>

__attr_section_decl__(".freestd")
static const void * const pe_affiliation
	__attr_section__(".freestd")
	= 0;

#ifdef  PE_LDSO
#define pe_entry_point __ldso_entry_point
#endif

int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved)
{
	(void)pe_affiliation;
	(void)hinstance;
	(void)reason;
	(void)reserved;

	return 1;
}