mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
Look for correct filename extension when loading native DLLs.
This commit is contained in:
parent
24209ecec6
commit
cfdd586ef8
2 changed files with 17 additions and 1 deletions
|
@ -800,7 +800,7 @@ void *Sys_LoadDll( const char *name, char *fqpath ,
|
|||
assert( name );
|
||||
|
||||
getcwd(curpath, sizeof(curpath));
|
||||
snprintf (fname, sizeof(fname), "%s" ARCH_STRING ".so", name);
|
||||
snprintf (fname, sizeof(fname), "%s" ARCH_STRING DLL_EXT, name);
|
||||
|
||||
// TODO: use fs_searchpaths from files.c
|
||||
pwdpath = Sys_Cwd();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue