summaryrefslogtreecommitdiff
path: root/src/sys/sys_main.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-08-03 14:32:49 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:26:55 +0000
commit5de808957b859d8bf56a8881d69aef057ccc092b (patch)
tree62ccdc0eeed2ef94a14792b04af95b9dd35a2979 /src/sys/sys_main.c
parent3eae34acfd6561c6dea659f5660c2f3437b28a0b (diff)
* Fix some grammar in DLL loading * s/Sys_LoadQVMDll/Sys_LoadGameDll/
Diffstat (limited to 'src/sys/sys_main.c')
-rw-r--r--src/sys/sys_main.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c
index ea7fc0eb..abf05e6e 100644
--- a/src/sys/sys_main.c
+++ b/src/sys/sys_main.c
@@ -423,7 +423,7 @@ void *Sys_LoadDll(const char *name, qboolean useSystemLib)
void *dllhandle;
if(useSystemLib)
- Com_Printf("Try loading \"%s\"...\n", name);
+ Com_Printf("Trying to load \"%s\"...\n", name);
if(!useSystemLib || !(dllhandle = Sys_LoadLibrary(name)))
{
@@ -435,7 +435,7 @@ void *Sys_LoadDll(const char *name, qboolean useSystemLib)
if(!*topDir)
topDir = ".";
- Com_Printf("Try loading \"%s\" from \"%s\"...\n", name, topDir);
+ Com_Printf("Trying to load \"%s\" from \"%s\"...\n", name, topDir);
Com_sprintf(libPath, sizeof(libPath), "%s%c%s", topDir, PATH_SEP, name);
if(!(dllhandle = Sys_LoadLibrary(libPath)))
@@ -447,7 +447,7 @@ void *Sys_LoadDll(const char *name, qboolean useSystemLib)
if(FS_FilenameCompare(topDir, basePath))
{
- Com_Printf("Try loading \"%s\" from \"%s\"...\n", name, basePath);
+ Com_Printf("Trying to load \"%s\" from \"%s\"...\n", name, basePath);
Com_sprintf(libPath, sizeof(libPath), "%s%c%s", basePath, PATH_SEP, name);
dllhandle = Sys_LoadLibrary(libPath);
}
@@ -462,12 +462,12 @@ void *Sys_LoadDll(const char *name, qboolean useSystemLib)
/*
=================
-Sys_LoadQVMDll
+Sys_LoadGameDll
Used to load a development dll instead of a virtual machine
=================
*/
-void *Sys_LoadQVMDll(const char *name,
+void *Sys_LoadGameDll(const char *name,
intptr_t (QDECL **entryPoint)(int, ...),
intptr_t (*systemcalls)(intptr_t, ...))
{
@@ -481,7 +481,7 @@ void *Sys_LoadQVMDll(const char *name,
if(!libHandle)
{
- Com_Printf("Sys_LoadQVMDll(%s) failed:\n\"%s\"\n", name, Sys_LibraryError());
+ Com_Printf("Sys_LoadGameDll(%s) failed:\n\"%s\"\n", name, Sys_LibraryError());
return NULL;
}
@@ -490,13 +490,13 @@ void *Sys_LoadQVMDll(const char *name,
if ( !*entryPoint || !dllEntry )
{
- Com_Printf ( "Sys_LoadQVMDll(%s) failed to find vmMain function:\n\"%s\" !\n", name, Sys_LibraryError( ) );
+ Com_Printf ( "Sys_LoadGameDll(%s) failed to find vmMain function:\n\"%s\" !\n", name, Sys_LibraryError( ) );
Sys_UnloadLibrary(libHandle);
return NULL;
}
- Com_Printf ( "Sys_LoadQVMDll(%s) found vmMain function at %p\n", name, *entryPoint );
+ Com_Printf ( "Sys_LoadGameDll(%s) found vmMain function at %p\n", name, *entryPoint );
dllEntry( systemcalls );
return libHandle;