2022-03-18 20:44:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2021-present - Fewtarius
|
|
|
|
|
|
|
|
. /etc/profile
|
|
|
|
|
2022-03-19 12:24:39 +00:00
|
|
|
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}]"
|
|
|
|
${FAST_CORES} x64sc -sounddev alsa -sdl2renderer opengles2 "$ARG"
|