diff options
Diffstat (limited to 'src/qcommon/vm_x86_64.c')
-rw-r--r-- | src/qcommon/vm_x86_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/vm_x86_64.c b/src/qcommon/vm_x86_64.c index 93b56a37..1071e79f 100644 --- a/src/qcommon/vm_x86_64.c +++ b/src/qcommon/vm_x86_64.c @@ -1017,7 +1017,7 @@ static char* memData; int VM_CallCompiled(vm_t *vm, int *args) { - int stack[OPSTACK_SIZE + 3]; + int stack[OPSTACK_SIZE + 15]; int programCounter; int programStack; int stackOnEntry; @@ -1064,7 +1064,7 @@ int VM_CallCompiled(vm_t *vm, int *args) // off we go into generated code... entryPoint = getentrypoint(vm); - opStack = PADP(stack, 4); + opStack = PADP(stack, 16); *opStack = 0xDEADBEEF; opStackRet = 0; |