aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds
diff options
context:
space:
mode:
authorAndre Heider2010-09-05 12:36:46 +0000
committerAndre Heider2010-09-05 12:36:46 +0000
commit4ac6c6a1ddfd5d4b99b8cc4937ca730683758010 (patch)
tree6bb7db3743b916c88d88f2a450d6a93412a15372 /backends/platform/ds
parent61cc69baf089ee2b5efffdb470dfe3e0a0777054 (diff)
downloadscummvm-rg350-4ac6c6a1ddfd5d4b99b8cc4937ca730683758010.tar.gz
scummvm-rg350-4ac6c6a1ddfd5d4b99b8cc4937ca730683758010.tar.bz2
scummvm-rg350-4ac6c6a1ddfd5d4b99b8cc4937ca730683758010.zip
DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set.
svn-id: r52545
Diffstat (limited to 'backends/platform/ds')
-rw-r--r--backends/platform/ds/arm9/source/dsmain.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp
index 0d0b88778b..dc0b59e777 100644
--- a/backends/platform/ds/arm9/source/dsmain.cpp
+++ b/backends/platform/ds/arm9/source/dsmain.cpp
@@ -3230,11 +3230,15 @@ int main(void) {
} // End of namespace DS
+#ifndef DISABLE_TEXT_CONSOLE
+extern int gDebugLevel;
+#endif
int main() {
#ifndef DISABLE_TEXT_CONSOLE
consoleDebugInit(DebugDevice_NOCASH);
nocashMessage("startup\n");
+ gDebugLevel = 2;
#endif
DS::main();
}