Ignore:
Timestamp:
Oct 26, 1999, 7:53:43 PM (26 years ago)
Author:
sandervl
Message:

log fixes (FS)

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:06 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.7 1999-10-26 17:53:42 sandervl Exp $ */
    22
    33/*
     
    3535#include <odinlx.h>
    3636#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
     37#include "initterm.h"
    3738
    3839extern "C" {
     
    4041void CDECL _ctordtorTerm( void );
    4142}
     43
     44char  dsoundPath[CCHMAXPATH] = "";
    4245
    4346/*-------------------------------------------------------------------*/
     
    7275   switch (ulFlag) {
    7376      case 0 :
     77      {
    7478         _ctordtorInit();
     79
     80         DosQueryModuleName(hModule, CCHMAXPATH, dsoundPath);
     81         char *endofpath = strrchr(dsoundPath, '\\');
     82         if(endofpath) *(endofpath+1) = 0;
    7583
    7684         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
     
    8997
    9098         break;
     99      }
    91100      case 1 :
    92101         UnregisterLxDll(hModule);
     
    106115{
    107116   _ctordtorTerm();
     117   CloseLogFile();
    108118   DosExitList(EXLST_EXIT, cleanup);
    109119   return ;
Note: See TracChangeset for help on using the changeset viewer.