diff options
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index 5f67d44808..94b829b1c8 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c | |||
@@ -25,7 +25,10 @@ | |||
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 | #include "lib/playback_control.h" | 29 | #include "lib/playback_control.h" |
30 | #endif | ||
31 | |||
29 | #include "gnuchess.h" | 32 | #include "gnuchess.h" |
30 | #include "opening.h" | 33 | #include "opening.h" |
31 | #include "chessbox_pgn.h" | 34 | #include "chessbox_pgn.h" |
@@ -588,8 +591,11 @@ static int cb_menu(void) | |||
588 | bool menu_quit = false; | 591 | bool menu_quit = false; |
589 | 592 | ||
590 | MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", | 593 | MENUITEM_STRINGLIST(menu,"Chessbox Menu",NULL,"New Game","Resume Game", |
591 | "Save Game", "Restore Game", "Playback Control", | 594 | "Save Game", "Restore Game", |
592 | "Quit"); | 595 | #if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ |
596 | "Playback Control", | ||
597 | #endif | ||
598 | "Quit"); | ||
593 | 599 | ||
594 | while(!menu_quit) | 600 | while(!menu_quit) |
595 | { | 601 | { |
@@ -612,9 +618,11 @@ static int cb_menu(void) | |||
612 | menu_quit = true; | 618 | menu_quit = true; |
613 | break; | 619 | break; |
614 | case 4: | 620 | case 4: |
621 | #if (MEMORYSIZE <= 8) && !defined(SIMULATOR) /* Lowmem doesn't have playback in chessbox */ | ||
615 | playback_control(NULL); | 622 | playback_control(NULL); |
616 | break; | 623 | break; |
617 | case 5: | 624 | case 5: |
625 | #endif | ||
618 | result = COMMAND_QUIT; | 626 | result = COMMAND_QUIT; |
619 | menu_quit = true; | 627 | menu_quit = true; |
620 | break; | 628 | break; |