diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-17 10:35:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-17 10:35:03 +0000 |
commit | cf1bd0756de183eca0f1d6baaa437a31a62f3f1b (patch) | |
tree | 1f544e0954ac0e03c8406f2c4ee861ba4b278400 /games/quake3/files/patch-code-unix-unix_shared.c | |
parent | da8f0fc9ccea394bdde07b4d20f69f18cb6949b8 (diff) |
Notes
Diffstat (limited to 'games/quake3/files/patch-code-unix-unix_shared.c')
-rw-r--r-- | games/quake3/files/patch-code-unix-unix_shared.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games/quake3/files/patch-code-unix-unix_shared.c b/games/quake3/files/patch-code-unix-unix_shared.c new file mode 100644 index 000000000000..27492d29bbbb --- /dev/null +++ b/games/quake3/files/patch-code-unix-unix_shared.c @@ -0,0 +1,45 @@ +--- code/unix/unix_shared.c Tue Aug 16 02:10:07 2005 ++++ ../../work/quake3-1.32b/code/unix/unix_shared.c Mon Aug 29 00:37:41 2005 +@@ -38,7 +38,7 @@ + static char cdPath[MAX_OSPATH]; + + // Used to determine local installation path +-static char installPath[MAX_OSPATH]; ++static char installPath[MAX_OSPATH] = "##PREFIX##/lib/quake3"; // FreeBSD + + // Used to determine where to store user-specific files + static char homePath[MAX_OSPATH]; +@@ -76,7 +76,7 @@ + return curtime; + } + +-#if defined(__linux__) && !defined(DEDICATED) ++// #if defined(__linux__) && !defined(DEDICATED) + /* + ================ + Sys_XTimeToSysTime +@@ -98,11 +98,15 @@ + { + int ret, time, test; + ++ /* ++ Let's try to comment out this and see what will happen :-) ++ + if (!in_subframe->value) + { + // if you don't want to do any event times corrections + return Sys_Milliseconds(); + } ++ */ + + // test the wrap issue + #if 0 +@@ -136,7 +140,7 @@ + + return ret; + } +-#endif ++// #endif + + //#if 0 // bk001215 - see snapvector.nasm for replacement + #if (defined __APPLE__) // rcg010206 - using this for PPC builds... |