Skip to content

Commit b25450b

Browse files
authored
Merge pull request #3791 from cmitu/ppsspp-update-2
ppsspp: revert to v1.13.2 for RPI and older Mesa
2 parents 49e2b86 + 8925957 commit b25450b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

scriptmodules/emulators/ppsspp.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@ rp_module_id="ppsspp"
1313
rp_module_desc="PlayStation Portable emulator PPSSPP"
1414
rp_module_help="ROM Extensions: .iso .pbp .cso\n\nCopy your PlayStation Portable roms to $romdir/psp"
1515
rp_module_licence="GPL2 https://raw.githubusercontent.com/hrydgard/ppsspp/master/LICENSE.TXT"
16-
rp_module_repo="git https://github.com/hrydgard/ppsspp.git v1.16.6"
16+
rp_module_repo="git https://github.com/hrydgard/ppsspp.git :_get_release_ppsspp"
1717
rp_module_section="opt"
1818
rp_module_flags=""
1919

20+
function _get_release_ppsspp() {
21+
local tagged_version="v1.16.6"
22+
# the V3D Mesa driver before 21.x has issues with v1.14 and later
23+
if [[ "$__os_debian_ver" -lt 11 ]] && isPlatform "kms" && isPlatform "rpi"; then
24+
tagged_version="v1.13.2"
25+
fi
26+
echo $tagged_version
27+
}
28+
2029
function depends_ppsspp() {
2130
local depends=(cmake libsdl2-dev libsnappy-dev libzip-dev zlib1g-dev)
2231
isPlatform "videocore" && depends+=(libraspberrypi-dev)

scriptmodules/libretrocores/lr-ppsspp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rp_module_id="lr-ppsspp"
1313
rp_module_desc="PlayStation Portable emu - PPSSPP port for libretro"
1414
rp_module_help="ROM Extensions: .iso .pbp .cso\n\nCopy your PlayStation Portable roms to $romdir/psp"
1515
rp_module_licence="GPL2 https://raw.githubusercontent.com/RetroPie/ppsspp/master/LICENSE.TXT"
16-
rp_module_repo="git https://github.com/hrydgard/ppsspp.git v1.16.6"
16+
rp_module_repo="git https://github.com/hrydgard/ppsspp.git :_get_release_ppsspp"
1717
rp_module_section="opt"
1818
rp_module_flags=""
1919

0 commit comments

Comments
 (0)