distribution/packages/games/emulators/vicesa/sources/start_xplus4.sh

16 lines
311 B
Bash
Raw Normal View History

2022-03-18 20:44:14 +00:00
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present - Fewtarius
. /etc/profile
if [ ! -d "/storage/.config/vice" ]
then
rsync -a /usr/config/vice /storage/.config
fi
2022-03-18 20:44:14 +00:00
ARG=${1//[\\]/}
export SDL_AUDIODRIVER=alsa
echo "[${ARG}]"
2023-02-27 02:56:16 +00:00
xplus4 -sounddev alsa -sdl2renderer opengles2 "${AR}G"