|
|
@ -55,8 +55,11 @@ static fs_interface_t fs_memfuncs = |
|
|
|
|
|
|
|
|
|
|
|
static void FS_UnloadProgs( void ) |
|
|
|
static void FS_UnloadProgs( void ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
COM_FreeLibrary( fs_hInstance ); |
|
|
|
if( fs_hInstance ) |
|
|
|
fs_hInstance = 0; |
|
|
|
{ |
|
|
|
|
|
|
|
COM_FreeLibrary( fs_hInstance ); |
|
|
|
|
|
|
|
fs_hInstance = 0; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#ifdef XASH_INTERNAL_GAMELIBS |
|
|
|
#ifdef XASH_INTERNAL_GAMELIBS |
|
|
@ -133,9 +136,8 @@ FS_Shutdown |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void FS_Shutdown( void ) |
|
|
|
void FS_Shutdown( void ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
int i; |
|
|
|
if( g_fsapi.ShutdownStdio ) |
|
|
|
|
|
|
|
g_fsapi.ShutdownStdio(); |
|
|
|
FS_ShutdownStdio(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
memset( &SI, 0, sizeof( sysinfo_t )); |
|
|
|
memset( &SI, 0, sizeof( sysinfo_t )); |
|
|
|
|
|
|
|
|
|
|
|