EmuDeck/whiptail/ShadersHandheldsPage.sh
Rodrigo 24582eeb74 Revert "== > ="
This reverts commit 28e8adc03d.
2023-11-30 22:39:36 +01:00

19 lines
516 B
Bash

#!/bin/bash
while true; do
question=$(whiptail --title "Configure LCD Shader simulates the old LCD Matrix screens of handheld systems" \
--radiolist "Enabling a LCD Shader simulates the old LCD Matrix screens of handheld systems" 10 80 4 \
"ON" "Enable" ON \
"OFF" "Disable" OFF \
3>&1 1<&2 2>&3)
case $question in
[ON]* ) break;;
[OFF]* ) break;;
* ) echo "Enable LCD Shaders?";;
esac
done
if [ $question == 'ON' ]; then
setSetting RAHandHeldShader true
else
setSetting RAHandHeldShader false
fi