mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
lib: restore dll loader support
This commit is contained in:
@@ -1062,7 +1062,7 @@ COM_CompareFileTime
|
||||
|
||||
=============
|
||||
*/
|
||||
int COM_CompareFileTime( const char *filename1, const char *filename2, int *iCompare )
|
||||
int GAME_EXPORT COM_CompareFileTime( const char *filename1, const char *filename2, int *iCompare )
|
||||
{
|
||||
int bRet = 0;
|
||||
|
||||
|
||||
@@ -769,11 +769,6 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
||||
|
||||
host.enabledll = !Sys_CheckParm( "-nodll" );
|
||||
|
||||
#ifdef DLL_LOADER
|
||||
if( host.enabledll )
|
||||
Setup_LDT_Keeper( ); // Must call before creating any thread
|
||||
#endif
|
||||
|
||||
host.change_game = bChangeGame;
|
||||
host.config_executed = false;
|
||||
host.status = HOST_INIT; // initialzation started
|
||||
|
||||
Reference in New Issue
Block a user