Browse Source

engine: disable custom DLL loader for everything except 32-bit x86

pull/2/head
Alibek Omarov 3 years ago
parent
commit
894726d699
  1. 4
      engine/common/filesystem.c

4
engine/common/filesystem.c

@ -3347,7 +3347,11 @@ dll_user_t *FS_FindLibrary( const char *dllname, qboolean directpath ) @@ -3347,7 +3347,11 @@ dll_user_t *FS_FindLibrary( const char *dllname, qboolean directpath )
{
// NOTE: if search is NULL let the OS found library himself
Q_strncpy( hInst->fullPath, dllpath, sizeof( hInst->fullPath ));
#if XASH_WIN32 && XASH_X86 // a1ba: custom loader is non-portable (I just don't want to touch it)
hInst->custom_loader = (search) ? true : false;
#else
hInst->custom_loader = false;
#endif
}
fs_ext_path = false; // always reset direct paths

Loading…
Cancel
Save