From 069475311244489cb1f5c018d46482479ea8f42c Mon Sep 17 00:00:00 2001 From: fewtarius Date: Wed, 10 Aug 2022 21:50:38 -0400 Subject: [PATCH] Add RGA patch for 503, re-apply yabasanshiroSA cache patch, roll back emulationstation until we can fix scraping, and fix up getshaders to use /tmp/shaders. --- packages/games/emulators/retroarch/patches/RG503 | 1 + .../patches/06-yabasanshiroSA-sh2-cache-perf.patch | 14 ++++++++++++++ packages/jelos/sources/scripts/getshaders | 12 +++++++++--- packages/ui/emulationstation/package.mk | 2 +- 4 files changed, 25 insertions(+), 4 deletions(-) create mode 120000 packages/games/emulators/retroarch/patches/RG503 create mode 100644 packages/games/emulators/yabasanshiroSA/patches/06-yabasanshiroSA-sh2-cache-perf.patch diff --git a/packages/games/emulators/retroarch/patches/RG503 b/packages/games/emulators/retroarch/patches/RG503 new file mode 120000 index 000000000..18ac2c296 --- /dev/null +++ b/packages/games/emulators/retroarch/patches/RG503 @@ -0,0 +1 @@ +RG351V \ No newline at end of file diff --git a/packages/games/emulators/yabasanshiroSA/patches/06-yabasanshiroSA-sh2-cache-perf.patch b/packages/games/emulators/yabasanshiroSA/patches/06-yabasanshiroSA-sh2-cache-perf.patch new file mode 100644 index 000000000..3e65873c2 --- /dev/null +++ b/packages/games/emulators/yabasanshiroSA/patches/06-yabasanshiroSA-sh2-cache-perf.patch @@ -0,0 +1,14 @@ +--- a/yabause/src/retro_arena/main.cpp ++++ b/yabause/src/retro_arena/main.cpp +@@ -263,9 +263,9 @@ int yabauseinit() + yinit.rbg_use_compute_shader = pre.getBool( "Use compute shader" , false); + #endif + +- yinit.use_cpu_affinity = 1; ++ yinit.use_cpu_affinity = 0; + +- yinit.use_sh2_cache = 1; ++ yinit.use_sh2_cache = 0; + + res = YabauseInit(&yinit); + if( res == -1) { diff --git a/packages/jelos/sources/scripts/getshaders b/packages/jelos/sources/scripts/getshaders index f027acdbc..52e979157 100755 --- a/packages/jelos/sources/scripts/getshaders +++ b/packages/jelos/sources/scripts/getshaders @@ -4,7 +4,13 @@ # Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert) # Copyright (C) 2022 Fewtarius (https://github.com/fewtarius) -find /usr/share/common-shaders -name '*.glslp' -print0 | - while IFS= read -r -d '' line; do - echo ${line#/usr/share/common-shaders/}, +for dir in /tmp/shaders +do + if [ -d "${dir}" ] + then + find ${dir} -name '*.glslp' -print0 | + while IFS= read -r -d '' line; do + echo ${line#${dir}/}, + done + fi done diff --git a/packages/ui/emulationstation/package.mk b/packages/ui/emulationstation/package.mk index 5fefdd535..d46047df5 100644 --- a/packages/ui/emulationstation/package.mk +++ b/packages/ui/emulationstation/package.mk @@ -3,7 +3,7 @@ # Copyright (C) 2020-present Fewtarius PKG_NAME="emulationstation" -PKG_VERSION="fc668c1" +PKG_VERSION="098226b329a5a2ce64530f6984fc5b3f2219bbdd" PKG_GIT_CLONE_BRANCH="main" PKG_REV="1" PKG_ARCH="any"