diff --git a/libretro-build-win32.sh b/libretro-build-win32.sh index 394f48a8..beff476f 100755 --- a/libretro-build-win32.sh +++ b/libretro-build-win32.sh @@ -172,7 +172,20 @@ build_libretro_stella() fi } -MEDNAFEN_VER=0925 +build_libretro_desmume() +{ + if [ -d "libretro-desmume" ]; then + echo "=== Building Desmume ===" + cd libretro-desmume + make platform=win CC=$CC CXX=$CXX -f Makefile.libretro -j4 || die "Failed to build Desmume" + cp retro.dll libretro-git-desmume.dll + cd ../ + else + echo "Desmume not fetched, skipping ..." + fi +} + +MEDNAFEN_VER=0926 build_libretro_mednafen() { @@ -198,6 +211,7 @@ build_libretro_fceu build_libretro_gambatte build_libretro_meteor build_libretro_stella +build_libretro_desmume build_libretro_mednafen psx PSX build_libretro_mednafen pce PCE build_libretro_mednafen wswan WSwan diff --git a/libretro-build.sh b/libretro-build.sh index 2ba21e38..cd153ac3 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -198,6 +198,18 @@ build_libretro_stella() fi } +build_libretro_desmume() +{ + if [ -d "libretro-desmume" ]; then + echo "=== Building Desmume ===" + cd libretro-desmume + make -f Makefile.libretro -j4 || die "Failed to build Desmume" + cp libretro.so libretro-desmume.so + cd ../ + else + echo "Desmume not fetched, skipping ..." + fi +} build_libretro_mednafen() { @@ -225,6 +237,7 @@ build_libretro_meteor build_libretro_nx build_libretro_prboom build_libretro_stella +build_libretro_desmume build_libretro_mednafen psx PSX build_libretro_mednafen pce PCE build_libretro_mednafen wswan WSwan diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 4fd282d0..5629fc4a 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -67,5 +67,5 @@ fetch_project "$REPO_BASE/libretro/mednafen-psx-libretro.git" "libretro-mednafen fetch_project "$REPO_BASE/libretro/mednafen-pce-libretro.git" "libretro-mednafen-pce" "libretro/mednafen-PCE" fetch_project "$REPO_BASE/libretro/mednafen-wswan-libretro.git" "libretro-mednafen-wswan" "libretro/mednafen-WSwan" fetch_project "$REPO_BASE/libretro/mednafen-ngp-libretro.git" "libretro-mednafen-ngp" "libretro/mednafen-NGP" -fetch_project "$REPO_BASE/libretro/stella-libretro.git" "libretro-stella" "libretro/Stella" +fetch_project "$REPO_BASE/libretro/desmume-libretro.git" "libretro-desmume" "libretro/Desmume" diff --git a/libretro-install-win32.sh b/libretro-install-win32.sh index 1e1dcb66..702cacc1 100755 --- a/libretro-install-win32.sh +++ b/libretro-install-win32.sh @@ -12,7 +12,7 @@ if [ ! -d "$LIBRETRO_DIR" ]; then mkdir -p "$LIBRETRO_DIR" fi -MEDNAFEN_VER=0925 +MEDNAFEN_VER=0926 LIBS="" LIBS="$LIBS libretro-bsnes/libretro-089-bsnes-performance.dll" @@ -28,6 +28,7 @@ LIBS="$LIBS libretro-bnes/libretro-git-bnes.dll" LIBS="$LIBS libretro-gambatte/libretro-git-gambatte.dll" LIBS="$LIBS libretro-meteor/libretro-git-meteor.dll" LIBS="$LIBS libretro-stella/libretro-git-stella.dll" +LIBS="$LIBS libretro-desmume/libretro-git-desmume.dll" LIBS="$LIBS libretro-mednafen-psx/libretro-${MEDNAFEN_VER}-mednafen-psx.dll" LIBS="$LIBS libretro-mednafen-pce/libretro-${MEDNAFEN_VER}-mednafen-pce.dll" LIBS="$LIBS libretro-mednafen-wswan/libretro-${MEDNAFEN_VER}-mednafen-wswan.dll" diff --git a/libretro-install.sh b/libretro-install.sh index 25a97621..41cab956 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -26,6 +26,7 @@ LIBS="$LIBS libretro-meteor/libretro-meteor.so" LIBS="$LIBS libretro-nx/libretro-nx.so" LIBS="$LIBS libretro-prboom/libretro-prboom.so" LIBS="$LIBS libretro-stella/libretro-stella.so" +LIBS="$LIBS libretro-desmume/libretro-desmume.so" LIBS="$LIBS libretro-mednafen-psx/libretro-mednafen-psx.so" LIBS="$LIBS libretro-mednafen-pce/libretro-mednafen-pce.so" LIBS="$LIBS libretro-mednafen-wswan/libretro-mednafen-wswan.so"