distribution/packages/emulators/standalone/vice-sa/sources/start_x64sc.sh
2023-04-01 22:58:06 +00:00

15 lines
310 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}]"
x64sc -sounddev alsa -sdl2renderer opengles2 "${ARG}"