summaryrefslogtreecommitdiff
path: root/games/ioquake3/files/patch-code-qcommon-vm_x86_64.c
blob: 084bc76729b2fde0944773c7564ab31b15ab9cc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- code/qcommon/vm_x86_64.c.orig	2008-08-06 16:09:29 UTC
+++ code/qcommon/vm_x86_64.c
@@ -246,7 +246,7 @@ void emit(const char* fmt, ...)
 #else
 #define JMPIARG \
 	emit("movq $%lu, %%rax", vm->codeBase+vm->instructionPointers[iarg]); \
-	emit("jmpq *%rax");
+	emit("jmpq *%%rax");
 #endif
  
 // integer compare and jump