Update post-update

Added "default" value to audiolatency for falling back to RetroArch own setting.
This commit is contained in:
Locutus73 2022-11-14 16:48:44 +01:00 committed by GitHub
parent e68b175a7f
commit 8414ef8945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,3 +119,11 @@ then
echo "Make sure weston is our default." >>${LOG}
set_setting weston.startup "/usr/bin/start_es.sh"
fi
# Set audiolatency to default.
AUDIOLATENCY=$(get_setting system.audiolatency)
if [ -z "${AUDIOLATENCY}" ]
then
echo "Set up audio latency..." >>${LOG}
set_setting system.audiolatency default
fi