From 2f455a3a41cec59ae3da22bbe556f32007b95719 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Sat, 24 Apr 2021 14:16:22 -0400 Subject: [PATCH] fix build mednafen_psx_hw core Signed-off-by: Henry Castro --- build-config.sh | 2 +- libretro-build.sh | 1 + rules.d/core-rules.sh | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/build-config.sh b/build-config.sh index c982f48a..1fbc6efc 100644 --- a/build-config.sh +++ b/build-config.sh @@ -103,6 +103,7 @@ include_core_vice_xvic include_core_vice_xplus4 # --- PlayStation1 emulator cores --- include_core_mednafen_psx +include_core_mednafen_psx_hw include_core_pcsx_rearmed include_core_pcsx1 include_core_pcsx2 @@ -286,4 +287,3 @@ include_lutro_tetris include_lutro_snake include_lutro_iyfct include_lutro_game_of_life - diff --git a/libretro-build.sh b/libretro-build.sh index c76cd47d..52c5e447 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -233,6 +233,7 @@ build_default_cores() { # Excluded for performance reasons libretro_build_core mednafen_pcfx libretro_build_core mednafen_psx + libretro_build_core mednafen_psx_hw if [ $platform != "qnx" ]; then libretro_build_core mednafen_snes fi diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index 92fcca79..4d225164 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -661,6 +661,14 @@ include_core_mednafen_psx() { libretro_mednafen_psx_name="Mednafen/Beetle PSX" libretro_mednafen_psx_git_url="https://github.com/libretro/beetle-psx-libretro.git" +include_core_mednafen_psx_hw() { + register_module core "mednafen_psx_hw" -theos_ios -ngc -psp1 +} +libretro_mednafen_psx_hw_name="Mednafen/Beetle PSX HW" +libretro_mednafen_psx_hw_git_url="https://github.com/libretro/beetle-psx-libretro.git" +libretro_mednafen_psx_hw_dir=libretro-beetle_psx +libretro_mednafen_psx_hw_build_args="HAVE_HW=1 HAVE_LIGHTREC=1 $libretro_mednafen_psx_hw_build_args" + include_core_mednafen_saturn() { register_module core "mednafen_saturn" -theos_ios -ngc -psp1 }