diff --git a/libretro-build-common.sh b/libretro-build-common.sh index 074aca0c..9889d3ae 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -98,6 +98,20 @@ build_libretro_pcsx_rearmed() { fi } +build_libretro_pcsx_rearmed_interpreter() { + cd "${BASE_DIR}" + if [ -d 'libretro-pcsx-rearmed' ]; then + echo '=== Building PCSX ReARMed Interpreter ===' + cd libretro-pcsx-rearmed + + "${MAKE}" -f Makefile.libretro platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean PCSX ReARMed' + "${MAKE}" -f Makefile.libretro USE_DYNAREC=0 platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build PCSX ReARMed' + cp "pcsx_rearmed_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}/pcsx_rearmed_interpreter${FORMAT}.${FORMAT_EXT}" + else + echo 'PCSX ReARMed not fetched, skipping ...' + fi +} + build_libretro_mednafen() { cd "${BASE_DIR}" if [ -d 'libretro-mednafen' ]; then diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index 4378212c..4334f858 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -50,6 +50,7 @@ else build_libretro_handy build_libretro_desmume build_libretro_pcsx_rearmed + build_libretro_pcsx_rearmed_interpreter build_libretro_modelviewer build_libretro_scenewalker build_libretro_instancingviewer