mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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
|
||||
#if defined(HAVE_VM_COMPILED)
|
||||
if ( vm->compiled )
|
||||
r = VM_CallCompiled( vm, (int*)callnum );
|
||||
r = VM_CallCompiled( vm, (int*)&callnum );
|
||||
else
|
||||
#endif
|
||||
r = VM_CallInterpreted( vm, (int*)callnum );
|
||||
r = VM_CallInterpreted( vm, (int*)&callnum );
|
||||
#else
|
||||
struct {
|
||||
int callnum;
|
||||
|
|
Loading…
Reference in a new issue