diff options
Diffstat (limited to 'backends/platform/ds/arm9/source/scummconsole.c')
-rw-r--r-- | backends/platform/ds/arm9/source/scummconsole.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/scummconsole.c b/backends/platform/ds/arm9/source/scummconsole.c index f4ae0bca8b..aafa0f7744 100644 --- a/backends/platform/ds/arm9/source/scummconsole.c +++ b/backends/platform/ds/arm9/source/scummconsole.c @@ -498,7 +498,12 @@ int consolePrintf(const char* s, ...) break; case 'f': case 'F': - printF(w,va_arg(argp, double)); +/* Need to undo our 'all doubles are floats' definition */ +#define TEMP_DEF double +#undef double + printF(w,va_arg(argp, double)); +#define double TEMP_DEF +#undef TEMP_DEF s++; break; case 's': |