aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm_x86.c
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-28 03:46:44 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-28 03:46:44 +0000
commit6aca16cc32a626c863ea73e392afc59b88b89edf (patch)
tree19f79d8217dbb716983c020de71dbf2dabe213bf /code/qcommon/vm_x86.c
parent64fab6d1e5c81852878cf6d13a778fea7d071430 (diff)
downloadioquake3-aero-6aca16cc32a626c863ea73e392afc59b88b89edf.tar.gz
ioquake3-aero-6aca16cc32a626c863ea73e392afc59b88b89edf.zip
Patching from floam with some edits by myself:
I was working on a patch earlier to fix some more things up to be more modern, and I added a couple lines from that cleanup patch I showed you on irc. Some commented code was removed, some stuff was made to not be broke (old head usage), the makefile should install things better, and a a few GCC warnings were gagged. I also attempted to version it but you'll probably want to change that to whatever versioning rules you decide on using. git-svn-id: svn://svn.icculus.org/quake3/trunk@13 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/vm_x86.c')
-rwxr-xr-xcode/qcommon/vm_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c
index f9b0982..04abce9 100755
--- a/code/qcommon/vm_x86.c
+++ b/code/qcommon/vm_x86.c
@@ -1168,7 +1168,7 @@ int VM_CallCompiled( vm_t *vm, int *args ) {
" movl %%edi,%1 \r\n" \
" popal \r\n" \
: "=m" (memProgramStack), "=m" (memOpStack) \
- : "m" (memEntryPoint), "0" (memProgramStack), "1" (memOpStack) \
+ : "m" (memEntryPoint), "m" (memProgramStack), "m" (memOpStack) \
: "si", "di" \
);