Fix common-shaders build conflict, disable integer scaling by default on Win600.

This commit is contained in:
fewtarius 2022-09-25 11:21:09 -04:00
parent 3580c9af49
commit abe58b34bf
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 15 additions and 2 deletions

View file

@ -27,12 +27,19 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/common-shaders"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain glsl-shaders slang-shaders"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Libretro common shaders"
PKG_LONGDESC="Libretro common shaders"
if [ "${DISPLAYSERVER}" = "wl" ]
then
PKG_DEPENDS_TARGET+=" slang-shaders"
else
PKG_DEPENDS_TARGET+=" glsl-shaders"
fi
make_target() {
:
}

View file

@ -140,7 +140,7 @@ EOF
sed -i "s#audio.volume=.*\$#audio.volume=100#g" ${INSTALL}/usr/config/system/configs/system.cfg
fi
if [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]]
if [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]] || [[ "${DEVICE}" =~ handheld ]]
then
sed -i "s#.integerscale=1#.integerscale=0#g" ${INSTALL}/usr/config/system/configs/system.cfg
fi

View file

@ -74,3 +74,9 @@ then
cp -f /usr/config/emulationstation/es_input.cfg /storage/.config/emulationstation/es_input.cfg
fi
# Disable integer scaling by default on Win600
if [[ "${DEVICE}" =~ handheld ]]
then
sed -i "s#.integerscale=1#.integerscale=0#g" /storage/.config/system/configs/system.cfg
fi