mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-11 06:32:10 +08:00
filesystem: introduce new module, based on engine filesystem.
The goal is to share filesystem code between engine and utilities and provide C++ VFileSystem interface in the future
This commit is contained in:
@@ -391,7 +391,7 @@ qboolean COM_CheckLibraryDirectDependency( const char *name, const char *depname
|
||||
dll_user_t *hInst;
|
||||
qboolean ret = FALSE;
|
||||
|
||||
hInst = FS_FindLibrary( name, directpath );
|
||||
hInst = COM_FindLibrary( name, directpath );
|
||||
if ( !hInst ) return 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();
|
||||
|
||||
hInst = FS_FindLibrary( dllname, directpath );
|
||||
hInst = COM_FindLibrary( dllname, directpath );
|
||||
if( !hInst )
|
||||
{
|
||||
COM_PushLibraryError( va( "Failed to find library %s", dllname ) );
|
||||
|
||||
Reference in New Issue
Block a user