From edc0fcb2c992a2b72194ab6d876514c88590928d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 15 Dec 2023 20:54:16 +0800 Subject: [PATCH] Add GAM4980 core. --- dist/info/gam4980_libretro.info | 23 +++++++++++++++++++++++ rules.d/core-rules.sh | 8 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 dist/info/gam4980_libretro.info diff --git a/dist/info/gam4980_libretro.info b/dist/info/gam4980_libretro.info new file mode 100644 index 000000000..6337ebf69 --- /dev/null +++ b/dist/info/gam4980_libretro.info @@ -0,0 +1,23 @@ +# Software Information +display_name = "GAM4980" +display_version = "0.1" +authors = "Anonymous" +categories = "Emulator" +license = "GPLv3+" +supported_extensions = "gam" + +# Hardware Information +manufacturer = "BBK Electronics" +systemname = "Longman 4980" +systemid = "gam4980" + +# Libretro Features +database = "gam4980" +supports_no_game = "true" +libretro_saves = "true" +cheats = "false" +needs_fullpath = "false" +disk_control = "false" +is_experimental = "true" + +description = "BBK A4980 game emulator for libretro." diff --git a/rules.d/core-rules.sh b/rules.d/core-rules.sh index 1dbdbde5f..b7973e119 100644 --- a/rules.d/core-rules.sh +++ b/rules.d/core-rules.sh @@ -1614,6 +1614,14 @@ libretro_anarch_post_fetch_cmd="mkdir -p build && cd build && cmake .." libretro_anarch_git_url="https://codeberg.org/iyzsong/anarch-libretro.git" libretro_anarch_build_makefile="Makefile" +include_core_gam4980() { + register_module core "gam4980" +} +libretro_gam4980_name="GAM4980" +libretro_gam4980_git_url="https://codeberg.org/iyzsong/gam4980.git" +libretro_gam4980_build_rule="cmake" +libretro_gam4980_build_args="-DCMAKE_BUILD_TYPE=Release" + include_core_emuscv() { register_module core "emuscv" }