Changeset 6375 for trunk/src/winmm/dbglocal.cpp
- Timestamp:
- Jul 20, 2001, 5:42:38 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/dbglocal.cpp
r5358 r6375 1 /* $Id: dbglocal.cpp,v 1. 5 2001-03-23 16:23:42sandervl Exp $ */1 /* $Id: dbglocal.cpp,v 1.6 2001-07-20 15:35:00 sandervl Exp $ */ 2 2 3 3 /* … … 16 16 #include "dbglocal.h" 17 17 18 USHORT DbgEnabled [DBG_MAXFILES] = {0};19 USHORT DbgEnabledLvl2 [DBG_MAXFILES] = {0};18 USHORT DbgEnabledWINMM[DBG_MAXFILES] = {0}; 19 USHORT DbgEnabledLvl2WINMM[DBG_MAXFILES] = {0}; 20 20 21 char *DbgFileNames[DBG_MAXFILES] =21 static char *DbgFileNames[DBG_MAXFILES] = 22 22 { 23 23 "os2timer", … … 47 47 //****************************************************************************** 48 48 //****************************************************************************** 49 void ParseLogStatus ()49 void ParseLogStatusWINMM() 50 50 { 51 51 char *envvar = getenv(DBG_ENVNAME); … … 55 55 56 56 for(i=0;i<DBG_MAXFILES;i++) { 57 DbgEnabled [i] = 1;57 DbgEnabledWINMM[i] = 1; 58 58 } 59 59 … … 65 65 if(*(dbgvar-1) == '-') { 66 66 for(i=0;i<DBG_MAXFILES;i++) { 67 DbgEnabled [i] = 0;67 DbgEnabledWINMM[i] = 0; 68 68 } 69 69 } … … 73 73 if(dbgvar) { 74 74 if(*(dbgvar-1) == '-') { 75 DbgEnabled [i] = 0;75 DbgEnabledWINMM[i] = 0; 76 76 } 77 77 else 78 78 if(*(dbgvar-1) == '+') { 79 DbgEnabled [i] = 1;79 DbgEnabledWINMM[i] = 1; 80 80 } 81 81 } … … 86 86 if(*(dbgvar-1) == '+') { 87 87 for(i=0;i<DBG_MAXFILES;i++) { 88 DbgEnabledLvl2 [i] = 1;88 DbgEnabledLvl2WINMM[i] = 1; 89 89 } 90 90 } … … 94 94 if(dbgvar) { 95 95 if(*(dbgvar-1) == '-') { 96 DbgEnabledLvl2 [i] = 0;96 DbgEnabledLvl2WINMM[i] = 0; 97 97 } 98 98 else 99 99 if(*(dbgvar-1) == '+') { 100 DbgEnabledLvl2 [i] = 1;100 DbgEnabledLvl2WINMM[i] = 1; 101 101 } 102 102 }
Note:
See TracChangeset
for help on using the changeset viewer.