mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-26 02:40:57 +00:00
Stub Sys_Init() for Unix and call it while initializing
This commit is contained in:
parent
6aae3e23b9
commit
fb528550e2
3 changed files with 7 additions and 0 deletions
|
@ -730,6 +730,7 @@ void SCR_DebugGraph (float value, int color);
|
|||
|
||||
/* NON-PORTABLE SYSTEM SERVICES */
|
||||
|
||||
void Sys_Init (void);
|
||||
void Sys_UnloadGame (void);
|
||||
void *Sys_GetGameAPI (void *parms);
|
||||
|
||||
|
|
|
@ -236,6 +236,7 @@ void Qcommon_Init (int argc, char **argv)
|
|||
if (dedicated->value)
|
||||
Cmd_AddCommand ("quit", Com_Quit);
|
||||
|
||||
Sys_Init();
|
||||
NET_Init();
|
||||
Netchan_Init ();
|
||||
SV_Init ();
|
||||
|
|
|
@ -94,6 +94,11 @@ CompareAttributes ( char *path, char *name, unsigned musthave, unsigned canthave
|
|||
return ( true );
|
||||
}
|
||||
|
||||
void
|
||||
Sys_Init ( void )
|
||||
{
|
||||
}
|
||||
|
||||
int
|
||||
Sys_Milliseconds ( void )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue