Skip to content

Commit

Permalink
don't call VM_Compile if it's not supported so the VM_Compile symbol
Browse files Browse the repository at this point in the history
isn't needed
  • Loading branch information
lnussel committed Oct 9, 2005
1 parent f6cb6ee commit f62601a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/qcommon/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
interpret = VMI_BYTECODE;
}
#endif

#else
if ( interpret >= VMI_COMPILED ) {
vm->compiled = qtrue;
VM_Compile( vm, header );
} else {
} else
#endif
{
vm->compiled = qfalse;
VM_PrepareInterpreter( vm, header );
}
Expand Down

0 comments on commit f62601a

Please sign in to comment.