Skip to content

Commit 4870ea2

Browse files
committed
lr-ppsspp - split out lr-ppsspp specific patches
This fixes binary builds not triggering due to the changes being in ppsspp.
1 parent 730b526 commit 4870ea2

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

scriptmodules/emulators/ppsspp.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,10 @@ function sources_ppsspp() {
5454
sed -n -i "p; s/^set(CMAKE_EXE_LINKER_FLAGS/set(CMAKE_SHARED_LINKER_FLAGS/p" cmake/Toolchains/raspberry.armv?.cmake
5555

5656
# 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
57+
if [[ "$md_id" == "ppsspp" && "$(_get_release_ppsspp)" == "v1.16.6" ]]; then
5858
applyPatch "${__mod_info[ppsspp/path]%/*}/ppsspp/gles2_fix.diff"
5959
fi
6060

61-
# fix missing exported symbol for libretro on v1.13.2
62-
if [[ "$md_id" == "lr-ppsspp" && "$(_get_release_ppsspp)" == "v1.13.2" ]]; then
63-
applyPatch "$md_data/v13-libretro_fix.diff"
64-
fi
65-
6661
if hasPackage cmake 3.6 lt; then
6762
cd ..
6863
mkdir -p cmake

scriptmodules/libretrocores/lr-ppsspp.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ function depends_lr-ppsspp() {
2323

2424
function sources_lr-ppsspp() {
2525
sources_ppsspp
26+
27+
# fix missing defines on opengles2 on v1.16.6 lr-ppsspp
28+
if [[ "$(_get_release_ppsspp)" == "v1.16.6" ]]; then
29+
applyPatch "${__mod_info[ppsspp/path]%/*}/ppsspp/gles2_fix.diff"
30+
fi
31+
32+
# fix missing exported symbol for libretro on v1.13.2
33+
if [[ "$(_get_release_ppsspp)" == "v1.13.2" ]]; then
34+
applyPatch "$md_data/v13-libretro_fix.diff"
35+
fi
2636
}
2737

2838
function build_lr-ppsspp() {

0 commit comments

Comments
 (0)