diff options
-rw-r--r-- | source/in_dx.c | 1 | ||||
-rw-r--r-- | source/prompt.c | 2 | ||||
-rw-r--r-- | source/sys_win.c | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/source/in_dx.c b/source/in_dx.c index 47f9db1..99d40b0 100644 --- a/source/in_dx.c +++ b/source/in_dx.c @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // #include "win_local.h" +#include "cl_public.h" #define DIRECTINPUT_VERSION 0x0700 #include <dinput.h> diff --git a/source/prompt.c b/source/prompt.c index 0c0b044..29b6bda 100644 --- a/source/prompt.c +++ b/source/prompt.c @@ -129,7 +129,7 @@ static void Prompt_ShowIndividualMatches( } } -EXPORTED qboolean Prompt_AddMatch( genctx_t *ctx, const char *s ) { +qboolean Prompt_AddMatch( genctx_t *ctx, const char *s ) { int r; if( ctx->count >= ctx->size ) { diff --git a/source/sys_win.c b/source/sys_win.c index 81903db..bb1f2e0 100644 --- a/source/sys_win.c +++ b/source/sys_win.c @@ -605,6 +605,8 @@ void *Hunk_Alloc( mempool_t *pool, size_t size ) { } void Hunk_End( mempool_t *pool ) { + // for statistics + pool->mapped = ( pool->cursize + 4095 ) & ~4095; } void Hunk_Free( mempool_t *pool ) { |