Split off the DOL to improve the build process

This commit is contained in:
dbalatoni13 2025-04-08 17:12:51 +02:00
parent a95def6dc0
commit 54d85f487c
6 changed files with 32 additions and 14 deletions

View file

@ -2,7 +2,7 @@
static u32 frand_seed;
extern s32 rand8(void);
extern s32 rand8(void);
static inline u32 frandom(u32 param)
{

View file

@ -87,7 +87,7 @@ void aurora_log_callback(AuroraLogLevel level, const char* module, const char *m
#endif
#ifdef TARGET_PC
int main(int argc, char *argv[])
int game_main(int argc, char *argv[])
#else
void main(void)
#endif

7
src/port/portmain.c Normal file
View file

@ -0,0 +1,7 @@
int game_main(int argc, char *argv[]);
int main(int argc, char *argv[])
{
game_main(argc, argv);
}