mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
608 B
30 lines
608 B
/*****************************************************************************
|
|
DEBUG.C
|
|
|
|
Controls Debug Output Messages
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
#include <ntddk.h>
|
|
#include <stdio.h> // For vsprintf
|
|
#include <stdarg.h> // For va_list
|
|
|
|
#if DBG
|
|
|
|
char *SoundDriverName = "MVOPL3";
|
|
ULONG MVOpl3DebugLevel = 1;
|
|
|
|
void MVOpl3DebugOut(char * szFormat, ...)
|
|
{
|
|
char buf[256];
|
|
va_list va;
|
|
|
|
va_start(va, szFormat);
|
|
vsprintf(buf, szFormat, va);
|
|
va_end(va);
|
|
DbgPrint("MVOPL3.SYS: %s\n", buf);
|
|
}
|
|
|
|
#endif // DBG
|
|
|