From 6c3d0b976d570accd9885ad9e767176572f8bb4f Mon Sep 17 00:00:00 2001 From: NicJA Date: Fri, 26 Apr 2019 02:10:49 +0000 Subject: [PATCH] use our own debug macro git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@56348 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/system/SysMon/video.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workbench/system/SysMon/video.c b/workbench/system/SysMon/video.c index a5c402f847..ac66b903f4 100644 --- a/workbench/system/SysMon/video.c +++ b/workbench/system/SysMon/video.c @@ -12,6 +12,8 @@ #include #include +#define DVMEM(x) + #undef HiddBitMapAttrBase OOP_AttrBase HiddGfxAttrBase; OOP_AttrBase HiddBitMapAttrBase; @@ -63,7 +65,7 @@ VOID UpdateVideoStaticInformation(struct SysMonData * smdata) {TAG_DONE, 0 } }; - D(bug("[SysMon:Video] %s: memTags @ 0x%p\n", __func__, memTags);) + DVMEM(bug("[SysMon:Video] %s: memTags @ 0x%p\n", __func__, memTags);) OOP_GetAttr(gfxhidd, aHidd_Gfx_MemoryAttribs, (IPTR *)memTags); __sprintf(buffer, "%ld kB", (ULONG)(memTags[0].ti_Data / 1024)); @@ -82,7 +84,7 @@ VOID UpdateVideoInformation(struct SysMonData * smdata) {TAG_DONE, 0 } }; - D(bug("[SysMon:Video] %s: memTags @ 0x%p\n", __func__, memTags);) + DVMEM(bug("[SysMon:Video] %s: memTags @ 0x%p\n", __func__, memTags);) OOP_GetAttr(gfxhidd, aHidd_Gfx_MemoryAttribs, (IPTR *)memTags); __sprintf(buffer, "%ld kB", (ULONG)(memTags[0].ti_Data / 1024)); -- 2.11.4.GIT