[quake3-commits] [ioquake/ioq3] 75ae91: Fix passing arguments to VM dylib on Apple M1
Zack Middleton
noreply at github.com
Fri Nov 19 15:02:01 EST 2021
Branch: refs/heads/main
Home: https://github.com/ioquake/ioq3
Commit: 75ae9119e6af3301e0f16c53f11e11739cc167ea
https://github.com/ioquake/ioq3/commit/75ae9119e6af3301e0f16c53f11e11739cc167ea
Author: Zack Middleton <zack at cloemail.com>
Date: 2021-11-19 (Fri, 19 Nov 2021)
Changed paths:
M code/qcommon/qcommon.h
M code/qcommon/vm_local.h
M code/sys/sys_main.c
Log Message:
-----------
Fix passing arguments to VM dylib on Apple M1
The engine function pointer to vmMain used variadic arguments but
the vmMain function in the dylib has explicit arguments. Evidently
the arguments are stored on the stack and/or registers differently.
Found by fretn.
More information about the quake3-commits
mailing list