mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-29 16:31:37 +00:00
support for 64bit native mods
This commit is contained in:
parent
334fa9c48c
commit
88171d6bb7
14 changed files with 50 additions and 51 deletions
|
@ -305,16 +305,7 @@ SV_GameSystemCalls
|
|||
The module is making a system call
|
||||
====================
|
||||
*/
|
||||
//rcg010207 - see my comments in VM_DllSyscall(), in qcommon/vm.c ...
|
||||
#if ((defined __linux__) && (defined __powerpc__))
|
||||
#define VMA(x) ((void *) args[x])
|
||||
#else
|
||||
#define VMA(x) VM_ArgPtr(args[x])
|
||||
#endif
|
||||
|
||||
#define VMF(x) ((float *)args)[x]
|
||||
|
||||
int SV_GameSystemCalls( int *args ) {
|
||||
long SV_GameSystemCalls( long *args ) {
|
||||
switch( args[0] ) {
|
||||
case G_PRINT:
|
||||
Com_Printf( "%s", VMA(1) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue