RetroPie-Setup/scriptmodules/libretrocores/lr-kronos.sh
Jools Wills 7ac3877b44 Switch to using defaultRAConfig
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
2022-05-22 13:09:12 +01:00

49 lines
1.5 KiB
Bash

#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="lr-kronos"
rp_module_desc="Saturn & ST-V emulator - Kronos port for libretro"
rp_module_help="ROM Extensions: .iso .cue .zip .ccd .mds\n\nCopy your Sega Saturn & ST-V roms to $romdir/saturn\n\nCopy the required BIOS file saturn_bios.bin / stvbios.zip to $biosdir/kronos"
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/yabause/kronos/yabause/COPYING"
rp_module_repo="git https://github.com/libretro/yabause.git kronos"
rp_module_section="exp"
rp_module_flags="!arm !aarch64"
function sources_lr-kronos() {
gitPullOrClone
}
function build_lr-kronos() {
cd yabause/src/libretro
make clean
make
md_ret_require="$md_build/yabause/src/libretro/kronos_libretro.so"
}
function install_lr-kronos() {
md_ret_files=(
'yabause/src/libretro/kronos_libretro.so'
'yabause/AUTHORS'
'yabause/COPYING'
'yabause/ChangeLog'
'yabause/GOALS'
'yabause/README'
'yabause/README.LIN'
)
}
function configure_lr-kronos() {
mkRomDir "saturn"
defaultRAConfig "saturn"
addEmulator 1 "$md_id" "saturn" "$md_inst/kronos_libretro.so"
addSystem "saturn"
}