aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source/portdefs.h
diff options
context:
space:
mode:
authorMax Horn2009-03-19 09:51:40 +0000
committerMax Horn2009-03-19 09:51:40 +0000
commitb5bcc1a23af73761f6ff40f79db0a5beb8ae82f1 (patch)
tree6ddd0d5b8e01a63fdcbc1b1c9d1a1a0739a1966d /backends/platform/ds/arm9/source/portdefs.h
parent8dc12da206cc850b3bd2bd456e4607ded695704d (diff)
downloadscummvm-rg350-b5bcc1a23af73761f6ff40f79db0a5beb8ae82f1.tar.gz
scummvm-rg350-b5bcc1a23af73761f6ff40f79db0a5beb8ae82f1.tar.bz2
scummvm-rg350-b5bcc1a23af73761f6ff40f79db0a5beb8ae82f1.zip
Merged Neil's NDS changes into trunk
svn-id: r39526
Diffstat (limited to 'backends/platform/ds/arm9/source/portdefs.h')
-rw-r--r--backends/platform/ds/arm9/source/portdefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/portdefs.h b/backends/platform/ds/arm9/source/portdefs.h
index 58d4df9020..7f22709206 100644
--- a/backends/platform/ds/arm9/source/portdefs.h
+++ b/backends/platform/ds/arm9/source/portdefs.h
@@ -38,6 +38,7 @@ typedef signed int s32;
#include "nds/jtypes.h"
+
// Somebody removed these from scummsys.h, but they're still required, so I'm adding them here
// in the hope that they'll stay.
#include <stdio.h>
@@ -51,6 +52,8 @@ typedef signed int s32;
#define CT_NO_TRANSPARENCY
+#define DISABLE_TEXT_CONSOLE
+#define DISABLE_COMMAND_LINE
#ifdef __cplusplus
extern "C" {
@@ -64,6 +67,8 @@ int consolePrintf(const char* s, ...);
//#define assert(expr) consolePrintf("Asserted!")
#define NO_DEBUG_MSGS
+#define consolePrintf iprintf
+
#ifdef assert
#undef assert
#endif