distribution/packages/emulators/standalone/vice-sa/sources/start_x64sc.sh

16 lines
310 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 11:55:06 +00:00
x64sc -sounddev alsa -sdl2renderer opengles2 "${ARG}"