Skip to content

Commit

Permalink
added newer libretro port of fba (based on 0.2.97.36). Calling it lr-…
Browse files Browse the repository at this point in the history
…fba-next so it doesn't collide with the older

module namespace.
removed hardfloat flag from libretro platform parameter - we handle this in our CFLAGS so no need for it.
 #986
  • Loading branch information
joolswills committed Sep 3, 2015
1 parent 7acd7d2 commit d3a904b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
45 changes: 45 additions & 0 deletions scriptmodules/libretrocores/lr-fba-next.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env bash

# This file is part of RetroPie.
#
# (c) Copyright 2012-2015 Florian Müller ([email protected])
#
# 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-fba-next"
rp_module_desc="Arcade emu - Final Burn Alpha (0.2.97.36) port for libretro"
rp_module_menus="4+"

function depends_lr-fba-next() {
getDepends gcc-4.8 g++-4.8
}

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

function build_lr-fba-next() {
make -f makefile.libretro clean
make -f makefile.libretro CC="gcc-4.8" CXX="g++-4.8" platform=armv profile=performance
md_ret_require="$md_build/fba_libretro.so"
}

function install_lr-fba-next() {
md_ret_files=(
'fba.chm'
'fba_libretro.so'
'gamelist.txt'
'whatsnew.html'
'preset-example.zip'
)
}

function configure_lr-fba-next() {
mkRomDir "fba"
ensureSystemretroconfig "fba"

addSystem 1 "$md_id" "neogeo" "$md_inst/fba_libretro.so"
addSystem 1 "$md_id" "fba arcade" "$md_inst/fba_libretro.so"
}
4 changes: 2 additions & 2 deletions scriptmodules/libretrocores/lr-fba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#

rp_module_id="lr-fba"
rp_module_desc="Arcade emu - Final Burn Alpha port for libretro"
rp_module_desc="Arcade emu - Final Burn Alpha (0.2.97.24) port for libretro"
rp_module_menus="2+"

function depends_lr-fba() {
Expand All @@ -23,7 +23,7 @@ function sources_lr-fba() {
function build_lr-fba() {
cd svn-current/trunk/
make -f makefile.libretro clean
make -f makefile.libretro CC="gcc-4.8" CXX="g++-4.8" platform=armvhardfloat
make -f makefile.libretro CC="gcc-4.8" CXX="g++-4.8" platform=armv
md_ret_require="$md_build/svn-current/trunk/fb_alpha_libretro.so"
}

Expand Down

0 comments on commit d3a904b

Please sign in to comment.