Merge pull request #982 from fewtarius/dev
Add a default to system/core/game GPU performance settings.
This commit is contained in:
commit
031a1df27c
2 changed files with 6 additions and 3 deletions
|
@ -127,8 +127,11 @@ GPUPERF=$(get_setting "gpuperf" "${PLATFORM}" "${ROMNAME##*/}")
|
||||||
if [ ! "${GPUPERF}" = "system" ] && \
|
if [ ! "${GPUPERF}" = "system" ] && \
|
||||||
[ ! -z "${GPUPERF}" ]
|
[ ! -z "${GPUPERF}" ]
|
||||||
then
|
then
|
||||||
echo "${GPUPERF}" >/tmp/.gpuperf
|
if [ ! "${GPUPERF}" = "default" ]
|
||||||
systemctl restart powerstate
|
then
|
||||||
|
echo "${GPUPERF}" >/tmp/.gpuperf
|
||||||
|
systemctl restart powerstate
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DEVICE_HAS_FAN}" = "true" ]
|
if [ "${DEVICE_HAS_FAN}" = "true" ]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Copyright (C) 2020-present Fewtarius
|
# Copyright (C) 2020-present Fewtarius
|
||||||
|
|
||||||
PKG_NAME="emulationstation"
|
PKG_NAME="emulationstation"
|
||||||
PKG_VERSION="a1d795e"
|
PKG_VERSION="c4463b7"
|
||||||
PKG_GIT_CLONE_BRANCH="main"
|
PKG_GIT_CLONE_BRANCH="main"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
|
|
Loading…
Reference in a new issue