From 15d47255975c2aa16a9c863ea9024be825363cdf Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Sun, 12 Apr 2015 14:54:43 -0700 Subject: [PATCH] Make mame work with libretro-super Forgot to commit this a few days ago. --- rules.d/core-rules.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index ce5c5e73..f9f38e60 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -201,8 +201,16 @@ libretro_mame139_build_rule=none # NEED A BUILD RULE register_core "mame" -theos_ios -ngc -ps3 -psp1 -qnx -wii libretro_mame_name="MAME (git)" libretro_mame_git_url="https://github.com/libretro/mame.git" -libretro_mame_build_rule=legacy -libretro_mame_build_legacy=build_libretro_mame_prerule +libretro_mame_build_makefile=Makefile.libretro +libretro_mame_build_compiler="REALCC=\"${CC:-cc}\" CC=\"${CXX:-c++}\"" +libretro_mame_build_makefile_targets="TARGET=\"mame\" TARGET=\"mess\" TARGET=\"ume\"" +libretro_mame_build_cores="mame mess ume" +libretro_mame_configure() { + if [ "$platform" = "ios" ]; then + # We don't have the means to do this "properly" yet... + echo_cmd "$MAKE -C \"$module_build_dir\" -f Makefile.libretro platform=\"\" buildtools" + fi +} register_core "ffmpeg" -ios -theos_ios -osx -ngc -ps3 -psp1 -qnx -wii libretro_ffmpeg_name="FFmpeg"