2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

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

This commit is contained in:
Alibek Omarov 2021-06-27 00:02:16 +03:00
parent f8e6033ae6
commit 894726d699

View File

@ -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