forked from len0rd/rockbox
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
This commit is contained in:
parent
1e3f529921
commit
b0232e0402
1 changed files with 8 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue