summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-02-26 21:24:29 +0000
committerThomas Martitz <kugel@rockbox.org>2009-02-26 21:24:29 +0000
commitb0232e040277366100910ea41994bea4c49f8db1 (patch)
tree99d99095bfc84ae4c4b14c2f0af744150b08c1eb /apps
parent1e3f52992110d75f1df8c2256d7d6759e9f997fd (diff)
downloadrockbox-b0232e040277366100910ea41994bea4c49f8db1.tar.gz
rockbox-b0232e040277366100910ea41994bea4c49f8db1.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/chessbox/chessbox.c11
1 files changed, 8 insertions, 3 deletions
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 @@
25 25
26#ifdef HAVE_LCD_BITMAP 26#ifdef HAVE_LCD_BITMAP
27 27
28#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ 28#if (MEMORYSIZE > 8) /* Lowmem doesn't have playback in chessbox */
29#define HAVE_PLAYBACK_CONTROL
30#endif
31
32
33#ifdef HAVE_PLAYBACK_CONTROL
29#include "lib/playback_control.h" 34#include "lib/playback_control.h"
30#endif 35#endif
31 36
@@ -592,7 +597,7 @@ static int cb_menu(void)
592 597
593 MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", 598 MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game",
594 "Save Game", "Restore Game", 599 "Save Game", "Restore Game",
595#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ 600#ifdef HAVE_PLAYBACK_CONTROL
596 "Playback Control", 601 "Playback Control",
597#endif 602#endif
598 "Quit"); 603 "Quit");
@@ -618,7 +623,7 @@ static int cb_menu(void)
618 menu_quit = true; 623 menu_quit = true;
619 break; 624 break;
620 case 4: 625 case 4:
621#if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ 626#ifdef HAVE_PLAYBACK_CONTROL
622 playback_control(NULL); 627 playback_control(NULL);
623 break; 628 break;
624 case 5: 629 case 5: