- Don't try to load QVM/DLL files on pure servers
- Fallback after failed DLL load will be VMI_COMPILED, not INTERPRETED
This commit is contained in:
parent
9219cde4e8
commit
af5020c57c
2 changed files with 3 additions and 2 deletions
|
@ -622,7 +622,8 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *),
|
|||
interpret = VMI_BYTECODE;
|
||||
}
|
||||
#else
|
||||
if ( interpret >= VMI_COMPILED ) {
|
||||
if(interpret != VMI_BYTECODE)
|
||||
{
|
||||
vm->compiled = qtrue;
|
||||
VM_Compile( vm, header );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue