distribution/packages/emulators/standalone/pcsx2-sa/sources/start_pcsx2.sh
2023-03-17 16:40:00 +00:00

14 lines
280 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present - Fewtarius
. /etc/profile
ARG=${1//[\\]/}
set_audio pulseaudio
if [ ! -d "/storage/.config/PCSX2" ]
then
cp -rf /usr/config/PCSX2 /storage/.config
fi
@APPIMAGE@ -fastboot -- "${ARG}"
set_audio alsa