23 lines
458 B
Bash
Executable file
23 lines
458 B
Bash
Executable file
#!/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"
|
|
${EMUPERF} ppsspp --pause-menu-exit "${ARG}"
|