summaryrefslogtreecommitdiff
path: root/src/qcommon/vm_local.h
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-16 01:11:45 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:28:21 +0000
commit1d26bab126400b065525340c9b6a377fbf9069f0 (patch)
tree29edb28448c9a3d8a4a9ef422871e4022eae65b7 /src/qcommon/vm_local.h
parent2dd04e69725fcb96b43aeac13aa03c8a863e9cd3 (diff)
Various fixes to vm_interpreted.c: - Add opStack protection - Fix dataMask check for OP_BLOCK_COPY - Add instruction number check for conditional jumps - Make errors in VM_PrepareInterpreter nonfatal
Diffstat (limited to 'src/qcommon/vm_local.h')
-rw-r--r--src/qcommon/vm_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qcommon/vm_local.h b/src/qcommon/vm_local.h
index ee44133a..8f23a25e 100644
--- a/src/qcommon/vm_local.h
+++ b/src/qcommon/vm_local.h
@@ -191,3 +191,5 @@ vmSymbol_t *VM_ValueToFunctionSymbol( vm_t *vm, int value );
int VM_SymbolToValue( vm_t *vm, const char *symbol );
const char *VM_ValueToSymbol( vm_t *vm, int value );
void VM_LogSyscalls( int *args );
+
+void VM_BlockCopy(unsigned int dest, unsigned int src, size_t n);