diff --git a/libretro-build-common-xdk.sh b/libretro-build-common-xdk.sh index 04b745b9..c4e79c5d 100644 --- a/libretro-build-common-xdk.sh +++ b/libretro-build-common-xdk.sh @@ -186,21 +186,7 @@ build_libretro_nx() 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 -} - -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" + cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/nxengine_libretro$FORMAT.$FORMAT_EXT else echo "NXEngine not fetched, skipping ..." fi