mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +00:00
Update Mednafen build for 0928 PSX.
This commit is contained in:
parent
67b4175d55
commit
c3c118b18c
@ -6,10 +6,20 @@ die()
|
|||||||
#exit 1
|
#exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ "$HOST_CC" ]; then
|
||||||
|
CC="${HOST_CC}-gcc"
|
||||||
|
CXX="${HOST_CC}-g++"
|
||||||
|
STRIP="${HOST_CC}-strip"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$CC" ]; then
|
if [ -z "$CC" ]; then
|
||||||
CC=gcc
|
CC=gcc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$CXX" ]; then
|
||||||
|
CC=g++
|
||||||
|
fi
|
||||||
|
|
||||||
build_libretro_bsnes()
|
build_libretro_bsnes()
|
||||||
{
|
{
|
||||||
if [ -d "libretro-bsnes/perf" ]; then
|
if [ -d "libretro-bsnes/perf" ]; then
|
||||||
@ -49,17 +59,20 @@ build_libretro_mednafen()
|
|||||||
|
|
||||||
cd psx
|
cd psx
|
||||||
make core=psx platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/psx"
|
make core=psx platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/psx"
|
||||||
cp retro.dll ../libretro-0926-mednafen-psx.dll
|
cp retro.dll ../libretro-0928-mednafen-psx.dll
|
||||||
|
"$STRIP" ../libretro-0928-mednafen-psx.dll
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd pce-fast
|
cd pce-fast
|
||||||
make core=pce-fast platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/pce-fast"
|
make core=pce-fast platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/pce-fast"
|
||||||
cp retro.dll ../libretro-0924-mednafen-pce-fast.dll
|
cp retro.dll ../libretro-0924-mednafen-pce-fast.dll
|
||||||
|
"$STRIP" ../libretro-0924-mednafen-pce-fast.dll
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd wswan
|
cd wswan
|
||||||
make core=wswan platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/wswan"
|
make core=wswan platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build mednafen/wswan"
|
||||||
cp retro.dll ../libretro-0922-mednafen-wswan.dll
|
cp retro.dll ../libretro-0922-mednafen-wswan.dll
|
||||||
|
"$STRIP" ../libretro-0922-mednafen-wswan.dll
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -27,7 +27,7 @@ LIBS="$LIBS libretro-gambatte/libretro-git-gambatte.dll"
|
|||||||
LIBS="$LIBS libretro-meteor/libretro-git-meteor.dll"
|
LIBS="$LIBS libretro-meteor/libretro-git-meteor.dll"
|
||||||
LIBS="$LIBS libretro-stella/libretro-git-stella.dll"
|
LIBS="$LIBS libretro-stella/libretro-git-stella.dll"
|
||||||
LIBS="$LIBS libretro-desmume/libretro-git-desmume.dll"
|
LIBS="$LIBS libretro-desmume/libretro-git-desmume.dll"
|
||||||
LIBS="$LIBS libretro-mednafen/libretro-0926-mednafen-psx.dll"
|
LIBS="$LIBS libretro-mednafen/libretro-0928-mednafen-psx.dll"
|
||||||
LIBS="$LIBS libretro-mednafen/libretro-0924-mednafen-pce-fast.dll"
|
LIBS="$LIBS libretro-mednafen/libretro-0924-mednafen-pce-fast.dll"
|
||||||
LIBS="$LIBS libretro-mednafen/libretro-0922-mednafen-wswan.dll"
|
LIBS="$LIBS libretro-mednafen/libretro-0922-mednafen-wswan.dll"
|
||||||
LIBS="$LIBS libretro-quicknes/libretro-git-quicknes.dll"
|
LIBS="$LIBS libretro-quicknes/libretro-git-quicknes.dll"
|
||||||
|
Loading…
Reference in New Issue
Block a user