distribution/packages/games/emulators/vicesa/sources/start_xplus4.sh
2023-02-26 21:56:16 -05:00

15 lines
311 B
Bash

#!/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
ARG=${1//[\\]/}
export SDL_AUDIODRIVER=alsa
echo "[${ARG}]"
xplus4 -sounddev alsa -sdl2renderer opengles2 "${AR}G"