This should fix Moodles's release-only crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3136 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-03-07 03:48:02 +00:00
parent 44c39eb40d
commit 37fbf203c5

View file

@ -63,7 +63,7 @@ struct vm_s {
void *hInst; void *hInst;
// native // native
int (VARGS *vmMain)(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6); int (EXPORT_FN *vmMain)(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6);
}; };
#if defined(__MORPHOS__) && I_AM_BIGFOOT #if defined(__MORPHOS__) && I_AM_BIGFOOT
@ -72,7 +72,7 @@ struct vm_s {
dllhandle_t *QVM_LoadDLL(const char *name, void **vmMain, int (EXPORT_FN *syscall)(int arg, ... )) dllhandle_t *QVM_LoadDLL(const char *name, void **vmMain, int (EXPORT_FN *syscall)(int arg, ... ))
{ {
void (*dllEntry)(int (EXPORT_FN *syscall)(int arg, ... )); void (EXPORT_FN *dllEntry)(int (EXPORT_FN *syscall)(int arg, ... ));
char dllname[MAX_OSPATH]; char dllname[MAX_OSPATH];
dllhandle_t *hVM; dllhandle_t *hVM;