mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-05 16:30:51 +00:00
* Fix the x86 vm
This commit is contained in:
parent
556b3307c5
commit
b1b7f975f1
1 changed files with 2 additions and 2 deletions
|
@ -749,10 +749,10 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
|
||||||
#ifdef __i386__ // i386 calling convention doesn't need conversion
|
#ifdef __i386__ // i386 calling convention doesn't need conversion
|
||||||
#if defined(HAVE_VM_COMPILED)
|
#if defined(HAVE_VM_COMPILED)
|
||||||
if ( vm->compiled )
|
if ( vm->compiled )
|
||||||
r = VM_CallCompiled( vm, (int*)callnum );
|
r = VM_CallCompiled( vm, (int*)&callnum );
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
r = VM_CallInterpreted( vm, (int*)callnum );
|
r = VM_CallInterpreted( vm, (int*)&callnum );
|
||||||
#else
|
#else
|
||||||
struct {
|
struct {
|
||||||
int callnum;
|
int callnum;
|
||||||
|
|
Loading…
Reference in a new issue