From a855d6202536ff28e5aae4f22a0f31d8f5b325d0 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 21 Jan 2017 15:18:31 -0500 Subject: Port of Duke Nukem 3D This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9 --- firmware/common/vuprintf.c | 3 ++- firmware/export/config.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/common/vuprintf.c b/firmware/common/vuprintf.c index 1c0adad00e..becb05e136 100644 --- a/firmware/common/vuprintf.c +++ b/firmware/common/vuprintf.c @@ -22,10 +22,11 @@ #include #include #include +#include #include "system.h" #include "vuprintf.h" -#if 0 +#if 1 /* turn everything on */ #define FMT_LENMOD (0xffffffff) #define FMT_RADIX (0xffffffff) diff --git a/firmware/export/config.h b/firmware/export/config.h index a4f0ea94fd..0d15ab6a33 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -973,7 +973,9 @@ Lyre prototype 1 */ || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) \ || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ || defined(APPLICATION) || (CONFIG_CPU == PP5002) \ - || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) + || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) || \ + (defined(HAVE_LCD_COLOR) && \ + (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))) #define HAVE_SEMAPHORE_OBJECTS #endif -- cgit v1.2.3