Skip to content

Commit bf4da4e

Browse files
authored
Merge pull request #3814 from joolswills/ppsspp_gles2_fix_v2
ppsspp - only apply gles2 patch on ppsspp v1.16.6
2 parents 05f2a02 + 02319f1 commit bf4da4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scriptmodules/emulators/ppsspp.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ 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
57-
applyPatch "$md_data/gles2_fix.diff"
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"
59+
fi
5860

5961
if hasPackage cmake 3.6 lt; then
6062
cd ..

0 commit comments

Comments
 (0)