summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: