diff options
Diffstat (limited to 'demos/3rdparty/doom/z_zone.c')
-rw-r--r-- | demos/3rdparty/doom/z_zone.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/demos/3rdparty/doom/z_zone.c b/demos/3rdparty/doom/z_zone.c index 43454854..801cb1a0 100644 --- a/demos/3rdparty/doom/z_zone.c +++ b/demos/3rdparty/doom/z_zone.c @@ -330,16 +330,16 @@ Z_DumpHeap { memblock_t* block; - printf ("zone size: %i location: %p\n", + I_printf ("zone size: %i location: %p\n", mainzone->size,mainzone); - printf ("tag range: %i to %i\n", + I_printf ("tag range: %i to %i\n", lowtag, hightag); for (block = mainzone->blocklist.next ; ; block = block->next) { if (block->tag >= lowtag && block->tag <= hightag) - printf ("block:%p size:%7i user:%p tag:%3i\n", + I_printf ("block:%p size:%7i user:%p tag:%3i\n", block, block->size, block->user, block->tag); if (block->next == &mainzone->blocklist) @@ -349,17 +349,18 @@ Z_DumpHeap } if ( (byte *)block + block->size != (byte *)block->next) - printf ("ERROR: block size does not touch the next block\n"); + I_printf ("ERROR: block size does not touch the next block\n"); if ( block->next->prev != block) - printf ("ERROR: next block doesn't have proper back link\n"); + I_printf ("ERROR: next block doesn't have proper back link\n"); if (!block->user && !block->next->user) - printf ("ERROR: two consecutive free blocks\n"); + I_printf ("ERROR: two consecutive free blocks\n"); } } +#if 0 // // Z_FileDumpHeap // @@ -390,7 +391,7 @@ void Z_FileDumpHeap (FILE* f) fprintf (f,"ERROR: two consecutive free blocks\n"); } } - +#endif // |