aboutsummaryrefslogtreecommitdiff
path: root/common/debug.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-01 16:03:50 +0000
committerMax Horn2010-11-01 16:03:50 +0000
commit0cf64915e11b57f96c6e72518aee13891cf2b76f (patch)
treeaa0dbeefc1af713a4e0d07a0977302a87facfff0 /common/debug.cpp
parenta984fb17c2be039502eff55472dd6a252e5570df (diff)
downloadscummvm-rg350-0cf64915e11b57f96c6e72518aee13891cf2b76f.tar.gz
scummvm-rg350-0cf64915e11b57f96c6e72518aee13891cf2b76f.tar.bz2
scummvm-rg350-0cf64915e11b57f96c6e72518aee13891cf2b76f.zip
COMMON: Add debugN variant without level parameter
This makes our various debug*() functions fully symmetric, for now. svn-id: r54008
Diffstat (limited to 'common/debug.cpp')
-rw-r--r--common/debug.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/debug.cpp b/common/debug.cpp
index 52ff4307dd..b718b7917f 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -190,6 +190,14 @@ void debug(int level, const char *s, ...) {
}
+void debugN(const char *s, ...) {
+ va_list va;
+
+ va_start(va, s);
+ debugHelper(s, va, false);
+ va_end(va);
+}
+
void debugN(int level, const char *s, ...) {
va_list va;