RetroPie-Setup/scriptmodules/libretrocores/lr-desmume2015.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

46 lines
1.3 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-desmume2015"
rp_module_desc="NDS emu - DESMUME (2015 version)"
rp_module_help="ROM Extensions: .nds .zip\n\nCopy your Nintendo DS roms to $romdir/nds"
rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/desmume/master/desmume/COPYING"
rp_module_repo="git https://github.com/libretro/desmume2015.git master"
rp_module_section="exp"
function depends_lr-desmume2015() {
depends_lr-desmume
}
function sources_lr-desmume2015() {
gitPullOrClone
}
function build_lr-desmume2015() {
cd desmume
make clean
make $(_params_lr-desmume)
md_ret_require="$md_build/desmume/desmume2015_libretro.so"
}
function install_lr-desmume2015() {
md_ret_files=(
'desmume/desmume2015_libretro.so'
)
}
function configure_lr-desmume2015() {
mkRomDir "nds"
defaultRAConfig "nds"
addEmulator 0 "$md_id" "nds" "$md_inst/desmume2015_libretro.so"
addSystem "nds"
}