Fix common-shaders build conflict, disable integer scaling by default on Win600.
This commit is contained in:
parent
3580c9af49
commit
abe58b34bf
3 changed files with 15 additions and 2 deletions
|
@ -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() {
|
||||
:
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue