distribution/packages/emulators/standalone/ppsspp-sa/scripts/start_ppsspp.sh

24 lines
458 B
Bash
Raw Normal View History

2023-04-25 18:22:59 +00:00
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present - Fewtarius
. /etc/profile
#Set the cores to use
CORES=$(get_setting "cores" "${PLATFORM}" "${ROMNAME##*/}")
if [ "${CORES}" = "little" ]
then
EMUPERF="${SLOW_CORES}"
elif [ "${CORES}" = "big" ]
then
EMUPERF="${FAST_CORES}"
else
### All..
unset EMUPERF
fi
ARG=${1//[\\]/}
export SDL_AUDIODRIVER=alsa
jslisten set "-9 ppsspp"
2023-05-01 13:12:01 +00:00
${EMUPERF} ppsspp --pause-menu-exit "${ARG}"