From 101e7249225523fdc3ba3fd61c41ac1deb0e4479 Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Fri, 5 Jul 2002 01:31:36 +0000 Subject: [PATCH] - Erk, the module loaders were still trying to load module.so, and so weren't finding the modules (cunningly hidden by the fact that old .so files weren't being cleaned up by the makefile). Fixed that up good. --- src/main.c | 2 +- src/vid_so.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index bb26362..0f6e155 100644 --- a/src/main.c +++ b/src/main.c @@ -256,7 +256,7 @@ void *Sys_GetGameAPI (void *parms) { lt_dlsetsearchpath(path); /* load the module */ - game_library = lt_dlopenext("game.so"); + game_library = lt_dlopenext("game"); if (game_library) { Com_MDPrintf("LoadLibrary (%s)\n", name); diff --git a/src/vid_so.c b/src/vid_so.c index 33b3ea2..f071618 100644 --- a/src/vid_so.c +++ b/src/vid_so.c @@ -417,7 +417,7 @@ void VID_CheckChanges (void) cl.refresh_prepped = false; cls.disable_screen = true; - sprintf( name, "ref_%s.so", vid_ref->string ); + sprintf( name, "ref_%s", vid_ref->string ); if ( !VID_LoadRefresh( name ) ) { if ( strcmp (vid_ref->string, "soft") == 0 ||