From 9c061f772c16ae3610bf4d4dc3f0bc38510c9da6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 18 May 2013 16:55:00 +0200 Subject: [PATCH] Add NXEngine build to Xbox 1/360 --- libretro-build-common-xdk.sh | 14 ++++++++++++++ libretro-build-xdk1.sh | 2 +- libretro-build-xdk360.sh | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/libretro-build-common-xdk.sh b/libretro-build-common-xdk.sh index 8834fde8..23e3662c 100644 --- a/libretro-build-common-xdk.sh +++ b/libretro-build-common-xdk.sh @@ -162,6 +162,20 @@ build_libretro_tyrquake() fi } +build_libretro_nx() +{ + cd $BASE_DIR + if [ -d "libretro-nx" ]; then + echo "=== Building NXEngine ===" + cd libretro-nx + cd nxengine-1.0.0.4/libretro/msvc + cmd.exe /k $MSVC_NAME.bat + cp $MSVC_NAME/Release_LTCG/nxengine_libretro$FORMAT.$FORMAT_EXT "$RARCH_DIST_DIR" + else + echo "NXEngine not fetched, skipping ..." + fi +} + create_dist_dir() { if [ -d $RARCH_DIR ]; then diff --git a/libretro-build-xdk1.sh b/libretro-build-xdk1.sh index 2b1d71ed..7db8758b 100644 --- a/libretro-build-xdk1.sh +++ b/libretro-build-xdk1.sh @@ -57,7 +57,7 @@ else build_libretro_vba build_libretro_fceu build_libretro_gambatte - #build_libretro_nx + build_libretro_nx build_libretro_prboom build_libretro_nestopia build_libretro_tyrquake diff --git a/libretro-build-xdk360.sh b/libretro-build-xdk360.sh index 4f862be9..692c4c93 100644 --- a/libretro-build-xdk360.sh +++ b/libretro-build-xdk360.sh @@ -40,6 +40,7 @@ else build_libretro_vba build_libretro_fceu build_libretro_gambatte + build_libretro_nx build_libretro_prboom build_libretro_nestopia build_libretro_tyrquake