blob: 1998a2e12e382a4f413514d0df8d2296455d2b2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- ./client/sys_linux.c.orig Tue Jul 18 00:34:50 2006
+++ ./client/sys_linux.c Sat Sep 2 18:40:52 2006
@@ -364,18 +364,15 @@
void *(*GetGameAPI)(void *);
char name[MAX_OSPATH];
- char curpath[MAX_OSPATH];
char *searchpath;
- const char *gamename = "gamei386.so";
+ const char *gamename = "game.so";
void *ret;
- getcwd(curpath, sizeof(curpath));
-
searchpath = 0;
while((searchpath = COM_NextPath(searchpath)))
{
- sprintf (name, "%s/%s/%s", curpath, searchpath, gamename);
+ sprintf (name, "%s/%s", searchpath, gamename);
game_library = dlopen (name, RTLD_LAZY );
if (game_library)
|