aboutsummaryrefslogtreecommitdiff
path: root/saga/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/console.cpp')
-rw-r--r--saga/console.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/saga/console.cpp b/saga/console.cpp
index a70fb77108..b5ada851e1 100644
--- a/saga/console.cpp
+++ b/saga/console.cpp
@@ -86,6 +86,21 @@ Console::Console(SagaEngine *vm) : Common::Debugger<Console>() {
Console::~Console() {
}
+int Console::DebugPrintf(const char *format, ...) {
+ int count;
+ va_list argptr;
+
+ va_start(argptr, format);
+
+ debug(1, format, argptr);
+ count = Common::Debugger<Console>::DebugPrintf(format);
+
+ va_end (argptr);
+
+ return count;
+}
+
+
void Console::preEnter() {
}