mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-14 00:40:39 +00:00
don't call VM_Compile if it's not supported so the VM_Compile symbol
isn't needed
This commit is contained in:
parent
f6cb6eee96
commit
f62601ac53
1 changed files with 4 additions and 3 deletions
|
@ -558,12 +558,13 @@ vm_t *VM_Create( const char *module, long (*systemCalls)(long *),
|
||||||
Com_Printf("Architecture doesn't have a bytecode compiler, using interpreter\n");
|
Com_Printf("Architecture doesn't have a bytecode compiler, using interpreter\n");
|
||||||
interpret = VMI_BYTECODE;
|
interpret = VMI_BYTECODE;
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
if ( interpret >= VMI_COMPILED ) {
|
if ( interpret >= VMI_COMPILED ) {
|
||||||
vm->compiled = qtrue;
|
vm->compiled = qtrue;
|
||||||
VM_Compile( vm, header );
|
VM_Compile( vm, header );
|
||||||
} else {
|
} else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
vm->compiled = qfalse;
|
vm->compiled = qfalse;
|
||||||
VM_PrepareInterpreter( vm, header );
|
VM_PrepareInterpreter( vm, header );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue