Changeset 1456 for trunk/src/dsound/initterm.cpp
- Timestamp:
- Oct 26, 1999, 7:53:43 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dsound/initterm.cpp
r951 r1456 1 /* $Id: initterm.cpp,v 1. 6 1999-09-15 23:26:06sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.7 1999-10-26 17:53:42 sandervl Exp $ */ 2 2 3 3 /* … … 35 35 #include <odinlx.h> 36 36 #include <misc.h> /*PLF Wed 98-03-18 23:18:15*/ 37 #include "initterm.h" 37 38 38 39 extern "C" { … … 40 41 void CDECL _ctordtorTerm( void ); 41 42 } 43 44 char dsoundPath[CCHMAXPATH] = ""; 42 45 43 46 /*-------------------------------------------------------------------*/ … … 72 75 switch (ulFlag) { 73 76 case 0 : 77 { 74 78 _ctordtorInit(); 79 80 DosQueryModuleName(hModule, CCHMAXPATH, dsoundPath); 81 char *endofpath = strrchr(dsoundPath, '\\'); 82 if(endofpath) *(endofpath+1) = 0; 75 83 76 84 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ … … 89 97 90 98 break; 99 } 91 100 case 1 : 92 101 UnregisterLxDll(hModule); … … 106 115 { 107 116 _ctordtorTerm(); 117 CloseLogFile(); 108 118 DosExitList(EXLST_EXIT, cleanup); 109 119 return ;
Note:
See TracChangeset
for help on using the changeset viewer.