From c54c9cb12163245910c02ea3f1e64c5ffaf5018d Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 15 Dec 2004 17:45:59 +0000 Subject: [PATCH] Thanks to The Beast, that's fixed. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@642 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index 453d11033..f846d5deb 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -1100,7 +1100,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin t = COM_CheckParm("-mem") + 1; if (t < com_argc) - parms.memsize = Q_atoi (com_argv[t]) * 1024; + parms.memsize = Q_atoi (com_argv[t]) * 1024*1024; } parms.membase = VirtualAlloc (NULL, parms.memsize, MEM_RESERVE, PAGE_NOACCESS);