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:
@@ -7,6 +7,7 @@
|
|||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "toscalls.h"
|
#include "toscalls.h"
|
||||||
|
|
||||||
|
#include <boot/stage2.h>
|
||||||
#include <boot/platform.h>
|
#include <boot/platform.h>
|
||||||
#include <boot/stdio.h>
|
#include <boot/stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@@ -62,6 +63,7 @@ dprintf(const char *format, ...)
|
|||||||
nat_feat_debugprintf(buffer);
|
nat_feat_debugprintf(buffer);
|
||||||
|
|
||||||
//if (platform_boot_options() & BOOT_OPTION_DEBUG_OUTPUT)
|
//if (platform_boot_options() & BOOT_OPTION_DEBUG_OUTPUT)
|
||||||
|
if (!gKernelArgs.frame_buffer.enabled)
|
||||||
Bconput(DEV_CONSOLE, buffer);
|
Bconput(DEV_CONSOLE, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user