Changeset View
Changeset View
Standalone View
Standalone View
head/games/ioquake3/files/patch-code-qcommon-vm_x86_64.c
--- code/qcommon/vm_x86_64.c.orig 2009-08-30 20:50:41.000000000 +0200 | --- code/qcommon/vm_x86_64.c.orig 2008-08-06 16:09:29 UTC | ||||
+++ code/qcommon/vm_x86_64.c 2009-08-30 20:51:43.000000000 +0200 | +++ code/qcommon/vm_x86_64.c | ||||
@@ -246,7 +246,7 @@ | @@ -246,7 +246,7 @@ void emit(const char* fmt, ...) | ||||
#else | #else | ||||
#define JMPIARG \ | #define JMPIARG \ | ||||
emit("movq $%lu, %%rax", vm->codeBase+vm->instructionPointers[iarg]); \ | emit("movq $%lu, %%rax", vm->codeBase+vm->instructionPointers[iarg]); \ | ||||
- emit("jmpq *%rax"); | - emit("jmpq *%rax"); | ||||
+ emit("jmpq *%%rax"); | + emit("jmpq *%%rax"); | ||||
#endif | #endif | ||||
// integer compare and jump | // integer compare and jump |