diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/start_launcher b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/start_launcher index c6593df..3f7d40a 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/start_launcher +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/start_launcher @@ -39,6 +39,9 @@ while true; do else if [ -f "${GMENU2X_FILE}" ]; then + # Force stop ampli (no sound in gmenu2x) + start_audio_amp 0 + # Launch gmenu2x gmenu2x& else @@ -53,6 +56,11 @@ while true; do wait $! erase_pid + # Restart ampli audio if necessary + if [[ "$(volume_get)" -ne "0" ]]; then + start_audio_amp 1 >/dev/null 2>&1 + fi + # In case retrofe quits with errors, clear graphic VT termfix_all fi diff --git a/FunKey/package/retrofe/retrofe.mk b/FunKey/package/retrofe/retrofe.mk index da153de..a871dfa 100644 --- a/FunKey/package/retrofe/retrofe.mk +++ b/FunKey/package/retrofe/retrofe.mk @@ -4,7 +4,7 @@ # ################################################################################ -RETROFE_VERSION = 343f64f +RETROFE_VERSION = d07ca9c RETROFE_SITE_METHOD = git RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib