Merge pull request #2475 from brooksytech/dev
Update Yuzu-SA and astc acceleration setting
This commit is contained in:
commit
f870eb2aaf
3 changed files with 20 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# Copyright (C) 2022-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="yuzu-sa"
|
||||
PKG_VERSION="767c4b5a992bfeeae9194bc9f5a3dc63996645df"
|
||||
PKG_VERSION="f6fdacd9358ea8d48aa6f9c74b1e1a52241c61cd"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/yuzu-emu/yuzu"
|
||||
|
|
|
@ -35,6 +35,7 @@ ln -sf /storage/roms/bios/yuzu/keys /storage/.config/yuzu/keys
|
|||
AF=$(get_setting anisotropic_filtering switch "${GAME}")
|
||||
AA=$(get_setting anti_aliasing switch "${GAME}")
|
||||
ASPECT=$(get_setting aspect_ratio switch "${GAME}")
|
||||
ASTCD=$(get_setting astc_decoding_method switch "${GAME}")
|
||||
GACCURACY=$(get_setting gpu_accuracy switch "${GAME}")
|
||||
GRENDERER=$(get_setting graphics_backend switch "${GAME}")
|
||||
IRES=$(get_setting internal_resolution switch "${GAME}")
|
||||
|
@ -102,6 +103,19 @@ ln -sf /storage/roms/bios/yuzu/keys /storage/.config/yuzu/keys
|
|||
sed -i '/^aspect_ratio=/c\aspect_ratio=4' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
#ASTC Acceleration (default to 1/GPU)
|
||||
sed -i '/^accelerate_astc\\default=/c\accelerate_astc\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$ASTCD" = "0" ]
|
||||
then
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=0' /storage/.config/yuzu/qt-config.ini
|
||||
elif [ "$ASTCD" = "2" ]
|
||||
then
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=2' /storage/.config/yuzu/qt-config.ini
|
||||
else
|
||||
sed -i '/^accelerate_astc=/c\accelerate_astc=1' /storage/.config/yuzu/qt-config.ini
|
||||
fi
|
||||
|
||||
|
||||
#GPU Accuracy
|
||||
sed -i '/^gpu_accuracy\\default=/c\gpu_accuracy\\default=false' /storage/.config/yuzu/qt-config.ini
|
||||
if [ "$GACCURACY" = "0" ]
|
||||
|
|
|
@ -549,6 +549,11 @@
|
|||
<cores>
|
||||
<core name="yuzu-sa">
|
||||
<features>
|
||||
<feature name="astc decoding method">
|
||||
<choice name="gpu" value="1"/>
|
||||
<choice name="cpu" value="0"/>
|
||||
<choice name="cpu asynchronous" value="2"/>
|
||||
</feature>
|
||||
<feature name="anisotropic filtering">
|
||||
<choice name="off" value="0"/>
|
||||
<choice name="2x" value="1"/>
|
||||
|
|
Loading…
Reference in a new issue