mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-20 03:50:08 +00:00
engine: disable custom DLL loader for everything except 32-bit x86
This commit is contained in:
parent
f8e6033ae6
commit
894726d699
@ -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
|
// NOTE: if search is NULL let the OS found library himself
|
||||||
Q_strncpy( hInst->fullPath, dllpath, sizeof( hInst->fullPath ));
|
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;
|
hInst->custom_loader = (search) ? true : false;
|
||||||
|
#else
|
||||||
|
hInst->custom_loader = false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
fs_ext_path = false; // always reset direct paths
|
fs_ext_path = false; // always reset direct paths
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user