Stub Sys_Init() for Unix and call it while initializing

This commit is contained in:
Yamagi Burmeister 2012-06-03 22:26:55 +02:00
parent 32dc525124
commit 4e37958b63
3 changed files with 7 additions and 0 deletions

View file

@ -730,6 +730,7 @@ void SCR_DebugGraph (float value, int color);
/* NON-PORTABLE SYSTEM SERVICES */ /* NON-PORTABLE SYSTEM SERVICES */
void Sys_Init (void);
void Sys_UnloadGame (void); void Sys_UnloadGame (void);
void *Sys_GetGameAPI (void *parms); void *Sys_GetGameAPI (void *parms);

View file

@ -236,6 +236,7 @@ void Qcommon_Init (int argc, char **argv)
if (dedicated->value) if (dedicated->value)
Cmd_AddCommand ("quit", Com_Quit); Cmd_AddCommand ("quit", Com_Quit);
Sys_Init();
NET_Init(); NET_Init();
Netchan_Init (); Netchan_Init ();
SV_Init (); SV_Init ();

View file

@ -94,6 +94,11 @@ CompareAttributes ( char *path, char *name, unsigned musthave, unsigned canthave
return ( true ); return ( true );
} }
void
Sys_Init ( void )
{
}
int int
Sys_Milliseconds ( void ) Sys_Milliseconds ( void )
{ {