summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/bad-apple-msp430fr-sharp96/Kconfig6
-rwxr-xr-xsrc/app/bad-apple-msp430fr-sharp96/convert3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/app/bad-apple-msp430fr-sharp96/Kconfig b/src/app/bad-apple-msp430fr-sharp96/Kconfig
index f1ca54a..487d097 100644
--- a/src/app/bad-apple-msp430fr-sharp96/Kconfig
+++ b/src/app/bad-apple-msp430fr-sharp96/Kconfig
@@ -3,4 +3,8 @@
# SPDX-License-Identifier: CC0-1.0
prompt "Sharp96 Bad Apple"
-depends on driver_sharp96 && !wakeup
+depends on arch_msp430fr5994lp_large_mode
+depends on driver_sharp96
+depends on lib_inflate && lib_inflate_lut
+depends on !loop
+depends on !wakeup
diff --git a/src/app/bad-apple-msp430fr-sharp96/convert b/src/app/bad-apple-msp430fr-sharp96/convert
index d357faa..f74a7ef 100755
--- a/src/app/bad-apple-msp430fr-sharp96/convert
+++ b/src/app/bad-apple-msp430fr-sharp96/convert
@@ -10,7 +10,8 @@ ffmpeg -i "$@" tmp/frame%4d.png
parallel mogrify -resize 96x96 -threshold 50% -- tmp/*.png
-echo "const unsigned char frame_rate = $3;" > frames.cc
+echo "// $0 $@" > frames.cc
+echo "const unsigned char frame_rate = $3;" >> frames.cc
./frames-to-cc tmp/*.png >> frames.cc
rm -rf tmp