mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 13:24:13 +00:00
engine: platform: win32: fixed build for Windows
This commit is contained in:
parent
b26cd6cc94
commit
a8674c18df
@ -391,7 +391,7 @@ qboolean COM_CheckLibraryDirectDependency( const char *name, const char *depname
|
|||||||
dll_user_t *hInst;
|
dll_user_t *hInst;
|
||||||
qboolean ret = FALSE;
|
qboolean ret = FALSE;
|
||||||
|
|
||||||
hInst = COM_FindLibrary( name, directpath );
|
hInst = FS_FindLibrary( name, directpath );
|
||||||
if ( !hInst ) return FALSE;
|
if ( !hInst ) return FALSE;
|
||||||
|
|
||||||
data = FS_LoadFile( name, NULL, false );
|
data = FS_LoadFile( name, NULL, false );
|
||||||
@ -439,7 +439,7 @@ void *COM_LoadLibrary( const char *dllname, int build_ordinals_table, qboolean d
|
|||||||
|
|
||||||
COM_ResetLibraryError();
|
COM_ResetLibraryError();
|
||||||
|
|
||||||
hInst = COM_FindLibrary( dllname, directpath );
|
hInst = FS_FindLibrary( dllname, directpath );
|
||||||
if( !hInst )
|
if( !hInst )
|
||||||
{
|
{
|
||||||
COM_PushLibraryError( va( "Failed to find library %s", dllname ) );
|
COM_PushLibraryError( va( "Failed to find library %s", dllname ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user