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
44 lines
1.4 KiB
Bash
44 lines
1.4 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-vb"
|
|
rp_module_desc="Virtual Boy emulator - Mednafen VB (optimised) port for libretro"
|
|
rp_module_help="ROM Extensions: .vb .zip\n\nCopy your Virtual Boy roms to $romdir/virtualboy"
|
|
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/beetle-vb-libretro/master/COPYING"
|
|
rp_module_repo="git https://github.com/libretro/beetle-vb-libretro.git master"
|
|
rp_module_section="opt"
|
|
rp_module_flags=""
|
|
|
|
function sources_lr-beetle-vb() {
|
|
gitPullOrClone
|
|
}
|
|
|
|
function build_lr-beetle-vb() {
|
|
local params=(NEED_STEREO_SOUND=1)
|
|
isPlatform "arm" && params+=(platform=armv FRONTEND_SUPPORTS_RGB565=1)
|
|
make clean
|
|
make "${params[@]}"
|
|
md_ret_require="$md_build/mednafen_vb_libretro.so"
|
|
}
|
|
|
|
function install_lr-beetle-vb() {
|
|
md_ret_files=(
|
|
'mednafen_vb_libretro.so'
|
|
)
|
|
}
|
|
|
|
function configure_lr-beetle-vb() {
|
|
mkRomDir "virtualboy"
|
|
defaultRAConfig "virtualboy"
|
|
|
|
addEmulator 1 "$md_id" "virtualboy" "$md_inst/mednafen_vb_libretro.so"
|
|
addSystem "virtualboy"
|
|
}
|