For now only output debug text on screen if framebuffer is not enabled.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39542 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2010-11-20 17:24:18 +00:00
parent b1ed9a63d7
commit 7a2ec456cf

View File

@ -7,6 +7,7 @@
#include "keyboard.h"
#include "toscalls.h"
#include <boot/stage2.h>
#include <boot/platform.h>
#include <boot/stdio.h>
#include <stdarg.h>
@ -62,6 +63,7 @@ dprintf(const char *format, ...)
nat_feat_debugprintf(buffer);
//if (platform_boot_options() & BOOT_OPTION_DEBUG_OUTPUT)
if (!gKernelArgs.frame_buffer.enabled)
Bconput(DEV_CONSOLE, buffer);
}