From 5de808957b859d8bf56a8881d69aef057ccc092b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 3 Aug 2011 14:32:49 +0000 Subject: * Fix some grammar in DLL loading * s/Sys_LoadQVMDll/Sys_LoadGameDll/ --- src/qcommon/qcommon.h | 2 +- src/qcommon/vm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qcommon') diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index 16b54e33..caabf7f4 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -1042,7 +1042,7 @@ typedef enum { void Sys_Init (void); // general development dll loading for virtual machine testing -void * QDECL Sys_LoadQVMDll( const char *name, intptr_t (QDECL **entryPoint)(int, ...), +void * QDECL Sys_LoadGameDll( const char *name, intptr_t (QDECL **entryPoint)(int, ...), intptr_t (QDECL *systemcalls)(intptr_t, ...) ); void Sys_UnloadDll( void *dllHandle ); diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c index 536b2ff7..702bdd28 100644 --- a/src/qcommon/vm.c +++ b/src/qcommon/vm.c @@ -580,7 +580,7 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *), { Com_Printf("Try loading dll file %s\n", filename); - vm->dllHandle = Sys_LoadQVMDll(filename, &vm->entryPoint, VM_DllSyscall); + vm->dllHandle = Sys_LoadGameDll(filename, &vm->entryPoint, VM_DllSyscall); if(vm->dllHandle) { -- cgit