Fix contrib/view_palettes.sh to allow output to stdout with -

This commit is contained in:
Rangi
2026-09-10 19:32:00 +02:00
committed by Eldred Habert
parent 8a6b1946e3
commit 3112239174
+1 -1
View File
@@ -22,4 +22,4 @@ for (( i = 0; i < NB_PALS; i++ )); do
printf $(printf '\\x%x' $i{,,,}) >> "$TMP/tmp.palmap"
done
"${RGBGFX:-${RGBDS+$RGBDS/}rgbgfx}" -r 4 "$2" -o "$TMP/tmp.2bpp" -OTQ -p "$1" -n "$NB_PALS"
"${RGBGFX:-${RGBDS+$RGBDS/}rgbgfx}" -o "$TMP/tmp.2bpp" -OTQ -p "$1" -n "$NB_PALS" -r 4 -- "$2"