summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-05-21 14:37:17 -0400
committerFranklin Wei <git@fwei.tk>2017-05-21 14:37:17 -0400
commit6bba062599ca307869377154899b8db735fc7474 (patch)
tree5c1438a255e260f8c8429eaedbdb001c3fed33b2
parent504346ab485e22a212a8df7e3fa73b1312528908 (diff)
downloadrockbox-6bba062599ca307869377154899b8db735fc7474.tar.gz
rockbox-6bba062599ca307869377154899b8db735fc7474.tar.bz2
rockbox-6bba062599ca307869377154899b8db735fc7474.zip
puzzles: clarify target-specific macros
Change-Id: I1f68f25a557bb2daa5e83a6d6f02711abeec5165
-rw-r--r--apps/plugins/puzzles/SOURCES.games2
-rw-r--r--apps/plugins/puzzles/rockbox.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/SOURCES.games b/apps/plugins/puzzles/SOURCES.games
index 5f8c58b477..c46a541145 100644
--- a/apps/plugins/puzzles/SOURCES.games
+++ b/apps/plugins/puzzles/SOURCES.games
@@ -1,3 +1,5 @@
+/* commented-out games cannot be played due to controls and/or bugs */
+
src/blackbox.c
src/bridges.c
src/cube.c
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c
index 94482cec69..1f3b307f25 100644
--- a/apps/plugins/puzzles/rockbox.c
+++ b/apps/plugins/puzzles/rockbox.c
@@ -1099,7 +1099,7 @@ static void quick_help(void)
}
}
-#ifdef SANSA_C200V2
+#if PLUGIN_BUFFER_SIZE <= 0x14000
/* no full help available due to memory constraints, so we provide a
* dummy function here */
void full_help(const char *str)
@@ -1223,7 +1223,7 @@ static int pausemenu_cb(int action, const struct menu_item_ex *this_item)
return ACTION_EXIT_MENUITEM;
break;
case 7:
-#ifdef SANSA_C200V2
+#if PLUGIN_BUFFER_SIZE <= 0x14000
return ACTION_EXIT_MENUITEM;
#else
break;
@@ -1819,7 +1819,7 @@ static int mainmenu_cb(int action, const struct menu_item_ex *this_item)
return ACTION_EXIT_MENUITEM;
break;
case 3:
-#ifdef SANSA_C200V2
+#if PLUGIN_BUFFER_SIZE <= 0x14000
return ACTION_EXIT_MENUITEM;
#else
break;