Fixing UI .so/dll loading

This commit is contained in:
Richard Allen 2011-04-09 21:13:54 +00:00
parent f06d516e19
commit 8153444877
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ void _UI_KeyEvent(int key, qboolean down);
void _UI_MouseEvent(int dx, int dy);
void _UI_Refresh(int realtime);
qboolean _UI_IsFullscreen(void);
int vmMain(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8,
Q_EXPORT intptr_t vmMain(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8,
int arg9, int arg10, int arg11)
{
switch (command) {

View file

@ -31,7 +31,7 @@
static int (QDECL * syscall) (int arg, ...) = (int (QDECL *) (int, ...)) -1;
void dllEntry(int (QDECL * syscallptr) (int arg, ...))
Q_EXPORT void dllEntry(int (QDECL * syscallptr) (int arg, ...))
{
syscall = syscallptr;
}