distribution/packages/games/emulators/retroarch/scripts/retroarch-config
2022-02-05 09:23:32 -05:00

6 lines
238 B
Bash
Executable file

#!/bin/sh
for i in 5 4 3 2 1 0; do [ -e /dev/snd/pcmC${i}D0p ] && export ALSA_CARD=$i; done
echo "ALSA_CARD=\"$ALSA_CARD\"" > /run/libreelec/retroarch.conf
echo "LD_LIBRARY_PATH=\"/usr/lib:/tmp/cores\"" >> /run/libreelec/retroarch.conf