From b0232e040277366100910ea41994bea4c49f8db1 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 26 Feb 2009 21:24:29 +0000 Subject: Correct the preprocessor condition introduced in r20112, also include FS#9958 by Alexander Levin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20117 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chessbox/chessbox.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 94b829b1c8..c1e6092f3a 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -25,7 +25,12 @@ #ifdef HAVE_LCD_BITMAP -#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ +#if (MEMORYSIZE > 8) /* Lowmem doesn't have playback in chessbox */ +#define HAVE_PLAYBACK_CONTROL +#endif + + +#ifdef HAVE_PLAYBACK_CONTROL #include "lib/playback_control.h" #endif @@ -592,7 +597,7 @@ static int cb_menu(void) MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", "Save Game", "Restore Game", -#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ +#ifdef HAVE_PLAYBACK_CONTROL "Playback Control", #endif "Quit"); @@ -618,7 +623,7 @@ static int cb_menu(void) menu_quit = true; break; case 4: -#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ +#ifdef HAVE_PLAYBACK_CONTROL playback_control(NULL); break; case 5: -- cgit v1.2.3