Skip to content

Commit 3221a3d

Browse files
authored
Merge pull request #3816 from joolswills/lr-ppsspp_fix
Apply the 1.16.6 gles2 fix to lr-ppsspp
2 parents 8356731 + acece6e commit 3221a3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scriptmodules/emulators/ppsspp.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ function sources_ppsspp() {
5353
# ensure Pi vendor libraries are available for linking of shared library
5454
sed -n -i "p; s/^set(CMAKE_EXE_LINKER_FLAGS/set(CMAKE_SHARED_LINKER_FLAGS/p" cmake/Toolchains/raspberry.armv?.cmake
5555

56-
# fix missing defines on opengles2 on v1.16.6
57-
if [[ "$md_id" == "ppsspp" && "$(_get_release_ppsspp)" == "v1.16.6" ]]; then
58-
applyPatch "$md_data/gles2_fix.diff"
56+
# fix missing defines on opengles2 on v1.16.6 lr-ppsspp/ppsspp
57+
if [[ "$md_id" =~ ^(lr-)?ppsspp$ && "$(_get_release_ppsspp)" == "v1.16.6" ]]; then
58+
applyPatch "${__mod_info[ppsspp/path]%/*}/ppsspp/gles2_fix.diff"
5959
fi
6060

6161
# fix missing exported symbol for libretro on v1.13.2

0 commit comments

Comments
 (0)