mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
libretro ports now don't include the "ports/" path in the call as it's handled by the new function
49 lines
1.5 KiB
Bash
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-beetle-psx"
|
|
rp_module_desc="PlayStation emulator - Mednafen PSX Port for libretro"
|
|
rp_module_help="ROM Extensions: .bin .cue .cbn .img .iso .m3u .mdf .pbp .toc .z .znx\n\nCopy your PlayStation roms to $romdir/psx\n\nCopy the required BIOS files\n\nscph5500.bin and\nscph5501.bin and\nscph5502.bin to\n\n$biosdir"
|
|
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/beetle-psx-libretro/master/COPYING"
|
|
rp_module_repo="git https://github.com/libretro/beetle-psx-libretro.git master"
|
|
rp_module_section="opt x86=main"
|
|
rp_module_flags="!arm"
|
|
|
|
function depends_lr-beetle-psx() {
|
|
local depends=(libvulkan-dev libgl1-mesa-dev)
|
|
getDepends "${depends[@]}"
|
|
}
|
|
|
|
function sources_lr-beetle-psx() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-beetle-psx() {
|
|
make clean
|
|
make HAVE_HW=1
|
|
md_ret_require=(
|
|
'mednafen_psx_hw_libretro.so'
|
|
)
|
|
}
|
|
|
|
function install_lr-beetle-psx() {
|
|
md_ret_files=(
|
|
'mednafen_psx_hw_libretro.so'
|
|
)
|
|
}
|
|
|
|
function configure_lr-beetle-psx() {
|
|
mkRomDir "psx"
|
|
defaultRAConfig "psx"
|
|
|
|
addEmulator 0 "$md_id" "psx" "$md_inst/mednafen_psx_hw_libretro.so"
|
|
addSystem "psx"
|
|
}
|