Skip to content

Commit b3b9a80

Browse files
committed
pcsx_rearmed: build with correct dynarec, disable dynarec on x86_64/i386
see: #1651
1 parent 62399ee commit b3b9a80

File tree

1 file changed

+13
-10
lines changed
  • packages/lakka/libretro_cores/pcsx_rearmed

1 file changed

+13
-10
lines changed

packages/lakka/libretro_cores/pcsx_rearmed/package.mk

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME="pcsx_rearmed"
2-
PKG_VERSION="7e3ce9afd1ddd5c16f20957cc7a46f6e681bff50"
2+
PKG_VERSION="46a38bdab1a4d9f578a368705a9e3e144fd81189"
33
PKG_LICENSE="GPLv2"
44
PKG_SITE="https://github.com/libretro/pcsx_rearmed"
55
PKG_URL="${PKG_SITE}.git"
@@ -23,21 +23,24 @@ if [ "${VULKAN_SUPPORT}" = "yes" ]; then
2323
PKG_DEPENDS_TARGET+=" ${VULKAN}"
2424
fi
2525

26-
if [ "${ARCH}" = "aarch64" ]; then
27-
PKG_MAKE_OPTS_TARGET+=" platform=unix"
28-
elif [ "${ARCH}" = "arm" ]; then
26+
if [ "${ARCH}" = "arm" ]; then
2927
PKG_MAKE_OPTS_TARGET+=" DYNAREC=ari64"
3028
if target_has_feature neon ; then
3129
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1 BUILTIN_GPU=neon"
3230
else
3331
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=0 BUILTIN_GPU=unai"
3432
fi
35-
fi
36-
37-
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
38-
sed -e "s|armv8-a|armv8-a+crc|" \
39-
-i ../Makefile.libretro
40-
PKG_MAKE_OPTS_TARGET+=" platfrom=classic_armv8_a35"
33+
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
34+
sed -e "s|armv8-a|armv8-a+crc|" \
35+
-i ../Makefile.libretro
36+
PKG_MAKE_OPTS_TARGET+=" platfrom=classic_armv8_a35"
37+
else
38+
PKG_MAKE_OPTS_TARGET+=" platform=unix"
39+
fi
40+
elif [ "${ARCH}" = "aarch64" ]; then
41+
PKG_MAKE_OPTS_TARGET+=" platform=unix DYNAREC=ari64"
42+
else
43+
PKG_MAKE_OPTS_TARGET+=" platform=unix DYNAREC=none"
4144
fi
4245

4346
makeinstall_target() {

0 commit comments

Comments
 (0)