summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-04-25 20:47:36 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2024-04-25 20:49:41 -0400
commitba4b41663caf90a00db66e5dc4c083d21a1dbbe9 (patch)
tree4b7ad3e1196433b540d7b85a1b79145ac6a62019
parent1922ac1aacb70b85a809f11a54dafa8059fe230c (diff)
downloadrockbox-ba4b41663c.tar.gz
rockbox-ba4b41663c.zip
[Fix Red] Remove amaze plugin from lowmem targets
Change-Id: I43ed6adec2f07fe09d8d57b7e63d2edaf6c83ef9
-rw-r--r--apps/plugins/SOURCES5
-rw-r--r--manual/plugins/main.tex2
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 3d520dea39..edc801362f 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -112,7 +112,6 @@ pictureflow.c
metronome.c
2048.c
-amaze.c
/* Lua needs at least 160 KB to work in */
#if PLUGIN_BUFFER_SIZE >= 0x80000
@@ -123,6 +122,10 @@ pixel-painter.lua
#endif /* HAVE_LCD_COLOR */
#endif /* PLUGIN_BUFFER_SIZE >= 0x80000 */
+#if PLUGIN_BUFFER_SIZE > 0x10000 /* Doesn't fit on most 2Mb targets */
+amaze.c
+#endif
+
rockblox1d.c
brickmania.c
calendar.c
diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex
index 19636292ad..c04299ca49 100644
--- a/manual/plugins/main.tex
+++ b/manual/plugins/main.tex
@@ -25,7 +25,7 @@ text files%
\input{plugins/2048.tex}
-\input{plugins/amaze.tex}
+\nopt{lowmem}{\input{plugins/amaze.tex}}
\input{plugins/blackjack.tex}