diff options
author | sparky | 2008-10-24 16:03:26 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 7d44c6df589b63da3056c5392ef2dd7d0445f95a (patch) | |
tree | cbed51f52c2cddf9df9dd036fac6ce96a63c897a /quake3-QUAKELIBDIR.patch | |
parent | b256b220317008aa63da3484f537c8f986bcdb44 (diff) | |
download | quake3-7d44c6df589b63da3056c5392ef2dd7d0445f95a.zip quake3-7d44c6df589b63da3056c5392ef2dd7d0445f95a.tar.gz |
- updated for 20081024
Changed files:
quake3-QUAKELIBDIR.patch -> 1.2
Diffstat (limited to 'quake3-QUAKELIBDIR.patch')
-rw-r--r-- | quake3-QUAKELIBDIR.patch | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/quake3-QUAKELIBDIR.patch b/quake3-QUAKELIBDIR.patch index 8e527e4..f8816aa 100644 --- a/quake3-QUAKELIBDIR.patch +++ b/quake3-QUAKELIBDIR.patch @@ -1,12 +1,24 @@ ---- quake3/code/unix/unix_main.c~ 2005-11-05 01:47:40.000000000 +0100 -+++ quake3/code/unix/unix_main.c 2005-11-06 18:17:46.000000000 +0100 -@@ -735,6 +735,9 @@ - if(!libHandle && homepath) - libHandle = try_dlopen(homepath, gamedir, fname, fqpath); +--- quake3/code/sys/sys_main.c~orig 2008-10-24 17:27:20.000000000 +0200 ++++ quake3/code/sys/sys_main.c 2008-10-24 17:28:11.000000000 +0200 +@@ -383,7 +383,8 @@ + Used to load a development dll instead of a virtual machine + #1 look down current path + #2 look in fs_homepath +-#3 look in fs_basepath ++#3 look in QUAKELIBDIR ++#4 look in fs_basepath + ================= + */ + void *Sys_LoadDll( const char *name, char *fqpath , +@@ -413,6 +414,11 @@ + if(!libHandle && homepath) + libHandle = Sys_TryLibraryLoad(homepath, gamedir, fname, fqpath); -+ if(!libHandle) -+ libHandle = try_dlopen(QUAKELIBDIR, gamedir, fname, fqpath); ++#if defined(QUAKELIBDIR) ++ if(!libHandle) ++ libHandle = Sys_TryLibraryLoad(QUAKELIBDIR, gamedir, fname, fqpath); ++#endif + - if(!libHandle && basepath) - libHandle = try_dlopen(basepath, gamedir, fname, fqpath); + if(!libHandle && basepath) + libHandle = Sys_TryLibraryLoad(basepath, gamedir, fname, fqpath); |