From ba4b41663caf90a00db66e5dc4c083d21a1dbbe9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 25 Apr 2024 20:47:36 -0400 Subject: [PATCH] [Fix Red] Remove amaze plugin from lowmem targets Change-Id: I43ed6adec2f07fe09d8d57b7e63d2edaf6c83ef9 --- apps/plugins/SOURCES | 5 ++++- manual/plugins/main.tex | 2 +- 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}