diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-16 01:11:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:28:21 +0000 |
commit | 1d26bab126400b065525340c9b6a377fbf9069f0 (patch) | |
tree | 29edb28448c9a3d8a4a9ef422871e4022eae65b7 /src/qcommon/vm_local.h | |
parent | 2dd04e69725fcb96b43aeac13aa03c8a863e9cd3 (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.h | 2 |
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); |