Skip to content

Commit

Permalink
Merge pull request #2448 from joolswills/lr-redream
Browse files Browse the repository at this point in the history
added lr-redream dreamcast emulator to experimental
  • Loading branch information
joolswills committed Aug 18, 2018
2 parents a346fea + 1c9ec15 commit 2cd6ad1
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions scriptmodules/libretrocores/lr-redream.sh
@@ -0,0 +1,44 @@
#!/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-redream"
rp_module_desc="Dreamcast emulator - redream port for libretro"
rp_module_help="ROM Extensions: .cdi .gdi\n\nCopy your Dreamcast roms to $romdir/dreamcast\n\nCopy the required BIOS files dc_boot.bin and dc_flash.bin to $biosdir"
rp_module_licence="GPL3 https://raw.githubusercontent.com/libretro/redream/master/LICENSE.txt"
rp_module_section="exp"
rp_module_flags="!arm !aarch64"

function sources_lr-redream() {
gitPullOrClone "$md_build" https://github.com/libretro/redream.git
}

function build_lr-redream() {
cd deps/libretro
make clean
make
md_ret_require="$md_build/deps/libretro/redream_libretro.so"
}

function install_lr-redream() {
md_ret_files=(
'deps/libretro/redream_libretro.so'
)
}

function configure_lr-redream() {
mkRomDir "dreamcast"
ensureSystemretroconfig "dreamcast"

mkUserDir "$biosdir/dc"

addEmulator 0 "$md_id" "dreamcast" "$md_inst/redream_libretro.so"
addSystem "dreamcast"
}

0 comments on commit 2cd6ad1

Please sign in to comment.