From d1111ab3d706cec4f95c2ef4491bcd2c85526909 Mon Sep 17 00:00:00 2001 From: meancoot Date: Thu, 19 Dec 2013 18:31:05 -0500 Subject: [PATCH] Add build_libretro_pcsx_rearmed_interpreter() to libretro-build-common.sh, add a call to it in libretro-build-ios.sh. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dynarec version of pcsx rearmed can’t run on non-jailbroken iOS devices, but the newest iDevices (iPhone5S, iPad Air etc.) are able to run it at full speed even with the interpreter. --- libretro-build-common.sh | 14 ++++++++++++++ libretro-build-ios.sh | 1 + 2 files changed, 15 insertions(+) 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