diff options
author | Max Horn | 2009-09-27 22:42:21 +0000 |
---|---|---|
committer | Max Horn | 2009-09-27 22:42:21 +0000 |
commit | 8f609497ee7417d9c9e7766a3125f355bf7e1662 (patch) | |
tree | bd08308c5c05d9b08f122afe510dabadf90bef9b /backends/platform/ds/arm9/source/portdefs.h | |
parent | bec07b42a0ce4462c5649818de68683b52ae7f67 (diff) | |
download | scummvm-rg350-8f609497ee7417d9c9e7766a3125f355bf7e1662.tar.gz scummvm-rg350-8f609497ee7417d9c9e7766a3125f355bf7e1662.tar.bz2 scummvm-rg350-8f609497ee7417d9c9e7766a3125f355bf7e1662.zip |
Backported NDS changes from 1.0.0 branch to trunk
svn-id: r44426
Diffstat (limited to 'backends/platform/ds/arm9/source/portdefs.h')
-rw-r--r-- | backends/platform/ds/arm9/source/portdefs.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/backends/platform/ds/arm9/source/portdefs.h b/backends/platform/ds/arm9/source/portdefs.h index 560bd8ab4b..5472b711b8 100644 --- a/backends/platform/ds/arm9/source/portdefs.h +++ b/backends/platform/ds/arm9/source/portdefs.h @@ -55,19 +55,22 @@ typedef signed int s32; #define DISABLE_TEXT_CONSOLE #define DISABLE_COMMAND_LINE +#define STREAM_AUDIO_FROM_DISK + +//#undef assert +//#define assert(expr) consolePrintf("Asserted!") +#define NO_DEBUG_MSGS + + +// This is defined in dsmain.cpp #ifdef __cplusplus extern "C" { #endif -int consolePrintf(const char* s, ...); +void consolePrintf(const char *format, ...); #ifdef __cplusplus } #endif -//#undef assert -//#define assert(expr) consolePrintf("Asserted!") -#define NO_DEBUG_MSGS - -#define consolePrintf iprintf #ifdef assert #undef assert @@ -82,7 +85,7 @@ int consolePrintf(const char* s, ...); #define ITCM_DATA __attribute__((section(".itcm"))) -// Since I can't change the engine at the moment (post lockdown) this define can go here. +// FIXME: Since I can't change the engine at the moment (post lockdown) this define can go here. // This define changes the mouse-relative motion which doesn't make sense on a touch screen to // a more conventional form of input where the menus can be clicked on. #define LURE_CLICKABLE_MENUS |