aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source
diff options
context:
space:
mode:
authorAndre Heider2010-09-04 22:19:20 +0000
committerAndre Heider2010-09-04 22:19:20 +0000
commit7248efb178cdb33c107cc0ff183eb74c79236a59 (patch)
tree1c243f93c67734981911ef9fac61f85d772033f0 /backends/platform/ds/arm9/source
parentaa5cd3e6825f50e574804455e6b5a3fbe2070062 (diff)
downloadscummvm-rg350-7248efb178cdb33c107cc0ff183eb74c79236a59.tar.gz
scummvm-rg350-7248efb178cdb33c107cc0ff183eb74c79236a59.tar.bz2
scummvm-rg350-7248efb178cdb33c107cc0ff183eb74c79236a59.zip
DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.
svn-id: r52533
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r--backends/platform/ds/arm9/source/dsmain.cpp4
-rw-r--r--backends/platform/ds/arm9/source/portdefs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp
index 95bfdfe40a..1525647c2e 100644
--- a/backends/platform/ds/arm9/source/dsmain.cpp
+++ b/backends/platform/ds/arm9/source/dsmain.cpp
@@ -3227,6 +3227,10 @@ int main(void) {
int main() {
+#ifndef DISABLE_TEXT_CONSOLE
+ consoleDebugInit(DebugDevice_NOCASH);
+ nocashMessage("startup\n");
+#endif
DS::main();
}
diff --git a/backends/platform/ds/arm9/source/portdefs.h b/backends/platform/ds/arm9/source/portdefs.h
index cc38d66a73..ad36503e83 100644
--- a/backends/platform/ds/arm9/source/portdefs.h
+++ b/backends/platform/ds/arm9/source/portdefs.h
@@ -40,10 +40,6 @@
#define double float
-#ifndef DISABLE_TEXT_CONSOLE
-#define DISABLE_TEXT_CONSOLE
-#endif
-
#ifndef DISABLE_COMMAND_LINE
#define DISABLE_COMMAND_LINE
#endif