diff --git a/PortMaster/mod_EmuELEC.txt b/PortMaster/mod_EmuELEC.txt index 40f59f2d..15fe25d7 100644 --- a/PortMaster/mod_EmuELEC.txt +++ b/PortMaster/mod_EmuELEC.txt @@ -27,7 +27,12 @@ if declare -f get_controls >/dev/null 2>&1; then } fi +# Older ports call get_controls before sourcing this file. +[ "${#sdl_controllerconfig}" -gt 100000 ] && sdl_controllerconfig="" + pm_platform_helper() { + pm_message_close + if [ -e "$PM_PIPE" ]; then PortMasterDialogExit fi