New debug scheme with explicit debug channels declaration.
diff --git a/loader/ne/convert.c b/loader/ne/convert.c
index 8091ff9..a97af8e 100644
--- a/loader/ne/convert.c
+++ b/loader/ne/convert.c
@@ -10,6 +10,8 @@
#include "debug.h"
#include "debugtools.h"
+DEFAULT_DEBUG_CHANNEL(resource)
+
/**********************************************************************
* ConvertDialog32To16 (KERNEL.615)
*/
diff --git a/loader/ne/module.c b/loader/ne/module.c
index ae88eb0..d8b90ae 100644
--- a/loader/ne/module.c
+++ b/loader/ne/module.c
@@ -30,6 +30,8 @@
#include "loadorder.h"
#include "elfdll.h"
+DEFAULT_DEBUG_CHANNEL(module)
+
FARPROC16 (*fnSNOOP16_GetProcAddress16)(HMODULE16,DWORD,FARPROC16) = NULL;
void (*fnSNOOP16_RegisterDLL)(NE_MODULE*,LPCSTR) = NULL;
diff --git a/loader/ne/resource.c b/loader/ne/resource.c
index ddf33ee..6bd6215 100644
--- a/loader/ne/resource.c
+++ b/loader/ne/resource.c
@@ -23,6 +23,8 @@
#include "callback.h"
#include "debug.h"
+DEFAULT_DEBUG_CHANNEL(resource)
+
#define NEXT_TYPEINFO(pTypeInfo) ((NE_TYPEINFO *)((char*)((pTypeInfo) + 1) + \
(pTypeInfo)->count * sizeof(NE_NAMEINFO)))
diff --git a/loader/ne/segment.c b/loader/ne/segment.c
index 48585cc..5ba6484 100644
--- a/loader/ne/segment.c
+++ b/loader/ne/segment.c
@@ -28,6 +28,11 @@
#include "debug.h"
#include "xmalloc.h"
+DECLARE_DEBUG_CHANNEL(dll)
+DECLARE_DEBUG_CHANNEL(fixup)
+DECLARE_DEBUG_CHANNEL(module)
+DECLARE_DEBUG_CHANNEL(segment)
+
#define SEL(x) GlobalHandleToSel16(x)
/***********************************************************************