Commit 64592e01 authored by Bkg2k's avatar Bkg2k Committed by OyyoDams

chore(fba): move from fbalpha to fbneo

parent bf9bd711
......@@ -99,7 +99,7 @@ menu "Libretro Cores"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-bluemsx/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-gpsp/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-4do/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-fbalpha/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-fbneo/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-gw/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-prboom/Config.in"
source "$BR2_EXTERNAL_RECALBOX_PATH/package/libretro-beetle-ngp/Config.in"
......
......@@ -35,7 +35,7 @@ recallog "Running MIGRATIONS…"
# Change cores that have been renamed in bf151a1
declare -A renamedCores
renamedCores=([catsfc]=snes9x2005 [pocketsnes]=snes9x2002 [snes9x_next]=snes9x2010 [pce]=mednafen_pce_fast [vb]=mednafen_vb [imame]=mame2000 [mame078]=mame2003 [fba]=fbalpha)
renamedCores=([catsfc]=snes9x2005 [pocketsnes]=snes9x2002 [snes9x_next]=snes9x2010 [pce]=mednafen_pce_fast [vb]=mednafen_vb [imame]=mame2000 [mame078]=mame2003 [fba]=fbneo [fbalpha]=fbneo)
for oldCoreName in ${!renamedCores[@]}; do
sed -i "s/\.core=${oldCoreName}\s*$/.core=${renamedCores[${oldCoreName}]}/" $_SHARE/${recalboxConfPath} \
&& recallog "RENAMED '${oldCoreName}' core to '${renamedCores[${oldCoreName}]}' in $_SHARE/${recalboxConfPath}." \
......
......@@ -182,8 +182,8 @@ fi
if [[ "$emulator" == "neogeo" ]]; then
settings_neogeo="`$systemsetting get neogeo_emulator`"
if [[ "$settings_neogeo" == "fbalpha" ]];then
/recalbox/scripts/runcommand.sh 4 "$retroarchbin -L $retroarchcores/fbalpha_libretro.so --config /recalbox/configs/retroarch/retroarchcustom.cfg \"$1\""
if [[ "$settings_neogeo" == "fbneo" ]];then
/recalbox/scripts/runcommand.sh 4 "$retroarchbin -L $retroarchcores/fbneo_libretro.so --config /recalbox/configs/retroarch/retroarchcustom.cfg \"$1\""
elif [[ "$settings_neogeo" == "mame2000" ]];then
/recalbox/scripts/runcommand.sh 4 "$retroarchbin -L $retroarchcores/mame2000_libretro.so --config /recalbox/configs/retroarch/retroarchcustom.cfg \"$1\""
else
......@@ -226,8 +226,8 @@ if [[ "$emulator" == "fba" ]]; then
/recalbox/scripts/runcommand.sh 4 "fba2x --configfile /recalbox/configs/fba/fba2x.cfg \"$1\""
fi
fi
if [[ "$emulator" == "fbalpha" ]]; then
/recalbox/scripts/runcommand.sh 4 "$retroarchbin -L $retroarchcores/fbalpha_libretro.so --config /recalbox/configs/retroarch/retroarchcustom.cfg \"$1\""
if [[ "$emulator" == "fbneo" ]]; then
/recalbox/scripts/runcommand.sh 4 "$retroarchbin -L $retroarchcores/fbneo_libretro.so --config /recalbox/configs/retroarch/retroarchcustom.cfg \"$1\""
fi
if [[ "$emulator" == "scummvm" ]]; then
......
......@@ -216,7 +216,7 @@ BR2_PACKAGE_LIBRETRO_METEOR=y
BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -228,7 +228,7 @@ BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_4DO=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -219,7 +219,7 @@ BR2_PACKAGE_LIBRETRO_METEOR=y
BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -232,7 +232,7 @@ BR2_PACKAGE_LIBRETRO_METEOR=y
BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -238,7 +238,7 @@ BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_4DO=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -274,7 +274,7 @@ BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_4DO=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
......@@ -275,7 +275,7 @@ BR2_PACKAGE_LIBRETRO_FMSX=y
BR2_PACKAGE_LIBRETRO_BLUEMSX=y
BR2_PACKAGE_LIBRETRO_GPSP=y
BR2_PACKAGE_LIBRETRO_4DO=y
BR2_PACKAGE_LIBRETRO_FBALPHA=y
BR2_PACKAGE_LIBRETRO_FBNEO=y
BR2_PACKAGE_LIBRETRO_GW=y
BR2_PACKAGE_LIBRETRO_PRBOOM=y
BR2_PACKAGE_LIBRETRO_BEETLE_NGP=y
......
config BR2_PACKAGE_LIBRETRO_FBALPHA
bool "libretro-fbalpha"
config BR2_PACKAGE_LIBRETRO_FBNEO
bool "libretro-fbneo"
depends on BR2_PACKAGE_RETROARCH
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_RECALBOX_ROMFS_FBA_LIBRETRO
select BR2_PACKAGE_RECALBOX_ROMFS_NEOGEO
select BR2_PACKAGE_RECALBOX_ROMFS_NEOGEOCD
help
A libretro fbalpha emulator core for ARM.
A libretro fbneo emulator core for ARM.
http://www.libretro.com
comment "LIBRETRO_FBALPHA needs a toolchain w/ C++"
comment "LIBRETRO_FBNEO needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
################################################################################
#
# FBALPHA
# FBNEO
#
################################################################################
LIBRETRO_FBALPHA_VERSION = 4eda6f1cf7e2dfe24d30e60a26cbc933cb8f710e
LIBRETRO_FBALPHA_SITE = $(call github,libretro,fbalpha,$(LIBRETRO_FBALPHA_VERSION))
LIBRETRO_FBNEO_VERSION = 592bbb64b23a1c23c4ace0461b7cbb9cf8eb1416
LIBRETRO_FBNEO_SITE = $(call github,libretro,FBNeo,$(LIBRETRO_FBNEO_VERSION))
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
LIBRETRO_FBALPHA_NEON += "HAVE_NEON=1"
LIBRETRO_FBNEO_OPTIONS += "HAVE_NEON=1"
else
LIBRETRO_FBALPHA_NEON += "HAVE_NEON=0"
LIBRETRO_FBNEO_OPTIONS += "HAVE_NEON=0"
endif
ifeq ($(BR2_arm),y)
LIBRETRO_FBALPHA_USE_CYCLONE = USE_CYCLONE=1
LIBRETRO_FBNEO_OPTIONS += USE_CYCLONE=1
endif
define LIBRETRO_FBALPHA_BUILD_CMDS
define LIBRETRO_FBNEO_BUILD_CMDS
CFLAGS="$(TARGET_CFLAGS) $(COMPILER_COMMONS_CFLAGS_SO)" \
CXXFLAGS="$(TARGET_CXXFLAGS) $(COMPILER_COMMONS_CXXFLAGS_SO)" \
LDFLAGS="$(TARGET_LDFLAGS) $(COMPILER_COMMONS_LDFLAGS_SO)" \
$(MAKE) CXX="$(TARGET_CXX)" CC="$(TARGET_CC)" -C $(@D) -f makefile.libretro platform="$(RETROARCH_LIBRETRO_BOARD)" $(LIBRETRO_FBALPHA_NEON) $(LIBRETRO_FBALPHA_USE_CYCLONE)
$(MAKE) CXX="$(TARGET_CXX)" CC="$(TARGET_CC)" -C $(@D)/src/burner/libretro -f Makefile platform="$(RETROARCH_LIBRETRO_BOARD)" $(LIBRETRO_FBNEO_OPTIONS)
endef
define LIBRETRO_FBALPHA_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/fbalpha_libretro.so \
$(TARGET_DIR)/usr/lib/libretro/fbalpha_libretro.so
define LIBRETRO_FBNEO_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/src/burner/libretro/fbneo_libretro.so \
$(TARGET_DIR)/usr/lib/libretro/fbneo_libretro.so
mkdir -p $(TARGET_DIR)/recalbox/share_init/bios/fba/samples
cp "$(@D)/dats/FB Alpha (ClrMame Pro XML, Arcade only).dat" \
cp "$(@D)/dats/FinalBurn Neo (ClrMame Pro XML, Arcade only).dat" \
$(TARGET_DIR)/recalbox/share_init/bios/fba
cp "$(@D)/dats/FB Alpha (ClrMame Pro XML, Neogeo only).dat" \
cp "$(@D)/dats/FinalBurn Neo (ClrMame Pro XML, Neogeo only).dat" \
$(TARGET_DIR)/recalbox/share_init/bios/fba
cp -R $(@D)/metadata/* $(TARGET_DIR)/recalbox/share_init/bios/fba
endef
......
config BR2_PACKAGE_RECALBOX_ROMFS_FBA_LIBRETRO
bool "recalbox-romfs-fba_libretro"
select BR2_PACKAGE_RECALBOX_ROMS
depends on BR2_PACKAGE_LIBRETRO_FBALPHA
depends on BR2_PACKAGE_LIBRETRO_FBNEO
help
share_init/roms and xml for fba_libretro
\ No newline at end of file
......@@ -5,7 +5,7 @@
################################################################################
# Package generated with :
# ./scripts/linux/empack.py --system fba_libretro --extension '.zip .ZIP .fba .FBA .7z .7Z' --fullname 'FinalBurn Alpha' --platform arcade --theme fba_libretro libretro:fbalpha:BR2_PACKAGE_LIBRETRO_FBALPHA
# ./scripts/linux/empack.py --system fba_libretro --extension '.zip .ZIP .fba .FBA .7z .7Z' --fullname 'FinalBurn Alpha' --platform arcade --theme fba_libretro libretro:fbneo:BR2_PACKAGE_LIBRETRO_FBNEO
# Name the 3 vars as the package requires
RECALBOX_ROMFS_FBA_LIBRETRO_SOURCE =
......@@ -21,18 +21,18 @@ SOURCE_ROMDIR_FBA_LIBRETRO = $(RECALBOX_ROMFS_FBA_LIBRETRO_PKGDIR)/roms
# variables are global across buildroot
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
define CONFIGURE_MAIN_FBA_LIBRETRO_START
$(call RECALBOX_ROMFS_CALL_ADD_SYSTEM,$(SYSTEM_XML_FBA_LIBRETRO),FinalBurn Alpha,$(SYSTEM_NAME_FBA_LIBRETRO),.zip .ZIP .fba .FBA .7z .7Z,arcade,fba_libretro)
endef
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
define CONFIGURE_FBA_LIBRETRO_LIBRETRO_START
$(call RECALBOX_ROMFS_CALL_START_EMULATOR,$(SYSTEM_XML_FBA_LIBRETRO),libretro)
endef
ifeq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),y)
define CONFIGURE_FBA_LIBRETRO_LIBRETRO_FBALPHA_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_FBA_LIBRETRO),fbalpha)
ifeq ($(BR2_PACKAGE_LIBRETRO_FBNEO),y)
define CONFIGURE_FBA_LIBRETRO_LIBRETRO_FBNEO_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_FBA_LIBRETRO),fbneo)
endef
endif
......@@ -51,7 +51,7 @@ endif
define RECALBOX_ROMFS_FBA_LIBRETRO_CONFIGURE_CMDS
$(CONFIGURE_MAIN_FBA_LIBRETRO_START)
$(CONFIGURE_FBA_LIBRETRO_LIBRETRO_START)
$(CONFIGURE_FBA_LIBRETRO_LIBRETRO_FBALPHA_DEF)
$(CONFIGURE_FBA_LIBRETRO_LIBRETRO_FBNEO_DEF)
$(CONFIGURE_FBA_LIBRETRO_LIBRETRO_END)
$(CONFIGURE_MAIN_FBA_LIBRETRO_END)
endef
......
......@@ -3,7 +3,7 @@ config BR2_PACKAGE_RECALBOX_ROMFS_NEOGEO
select BR2_PACKAGE_RECALBOX_ROMS
depends on BR2_PACKAGE_LIBRETRO_MAME2003 \
|| BR2_PACKAGE_LIBRETRO_MAME2000 \
|| BR2_PACKAGE_LIBRETRO_FBALPHA \
|| BR2_PACKAGE_LIBRETRO_FBNEO \
|| BR2_PACKAGE_PIFBA \
|| BR2_PACKAGE_LIBRETRO_MAME2015 \
|| BR2_PACKAGE_LIBRETRO_MAME2016 \
......
......@@ -5,7 +5,7 @@
################################################################################
# Package generated with :
# ./scripts/linux/empack.py --system neogeo --extension '.zip .ZIP .7z .7Z' --fullname 'Neo-Geo' --platform neogeo --theme neogeo libretro:mame2003:BR2_PACKAGE_LIBRETRO_MAME2003 libretro:mame2000:BR2_PACKAGE_LIBRETRO_MAME2000 libretro:fbalpha:BR2_PACKAGE_LIBRETRO_FBALPHA fba2x:fba2x:BR2_PACKAGE_PIFBA libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2010 libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2015 libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2016
# ./scripts/linux/empack.py --system neogeo --extension '.zip .ZIP .7z .7Z' --fullname 'Neo-Geo' --platform neogeo --theme neogeo libretro:mame2003:BR2_PACKAGE_LIBRETRO_MAME2003 libretro:mame2000:BR2_PACKAGE_LIBRETRO_MAME2000 libretro:fbneo:BR2_PACKAGE_LIBRETRO_FBNEO fba2x:fba2x:BR2_PACKAGE_PIFBA libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2010 libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2015 libretro:mame2010:BR2_PACKAGE_LIBRETRO_MAME2016
# Name the 3 vars as the package requires
RECALBOX_ROMFS_NEOGEO_SOURCE =
......@@ -21,12 +21,12 @@ SOURCE_ROMDIR_NEOGEO = $(RECALBOX_ROMFS_NEOGEO_PKGDIR)/roms
# variables are global across buildroot
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBALPHA)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBNEO)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
define CONFIGURE_MAIN_NEOGEO_START
$(call RECALBOX_ROMFS_CALL_ADD_SYSTEM,$(SYSTEM_XML_NEOGEO),Neo-Geo,$(SYSTEM_NAME_NEOGEO),.zip .ZIP .7z .7Z,neogeo,neogeo)
endef
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBALPHA)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBNEO)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
define CONFIGURE_NEOGEO_LIBRETRO_START
$(call RECALBOX_ROMFS_CALL_START_EMULATOR,$(SYSTEM_XML_NEOGEO),libretro)
endef
......@@ -49,9 +49,9 @@ define CONFIGURE_NEOGEO_LIBRETRO_MAME2010_DEF
endef
endif
ifeq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),y)
define CONFIGURE_NEOGEO_LIBRETRO_FBALPHA_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_NEOGEO),fbalpha)
ifeq ($(BR2_PACKAGE_LIBRETRO_FBNEO),y)
define CONFIGURE_NEOGEO_LIBRETRO_FBNEO_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_NEOGEO),fbneo)
endef
endif
......@@ -72,7 +72,7 @@ define CONFIGURE_NEOGEO_LIBRETRO_END
endef
endif
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBALPHA)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBNEO)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
define CONFIGURE_NEOGEO_FBA2X_START
$(call RECALBOX_ROMFS_CALL_START_EMULATOR,$(SYSTEM_XML_NEOGEO),fba2x)
endef
......@@ -99,7 +99,7 @@ define RECALBOX_ROMFS_NEOGEO_CONFIGURE_CMDS
$(CONFIGURE_NEOGEO_LIBRETRO_MAME2016_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_MAME2015_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_MAME2010_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_FBALPHA_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_FBNEO_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_MAME2003_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_MAME2000_DEF)
$(CONFIGURE_NEOGEO_LIBRETRO_END)
......
config BR2_PACKAGE_RECALBOX_ROMFS_NEOGEOCD
bool "recalbox-romfs-neogeocd"
select BR2_PACKAGE_RECALBOX_ROMS
depends on BR2_PACKAGE_LIBRETRO_FBALPHA
depends on BR2_PACKAGE_LIBRETRO_FBNEO
help
share_init/roms and xml for neogeocd
\ No newline at end of file
......@@ -5,7 +5,7 @@
################################################################################
# Package generated with :
# ./scripts/linux/empack.py --system neogeocd --extension '.cue .CUE' --fullname 'Neo-Geo CD' --platform neogeocd --theme neogeocd libretro:fbalpha:BR2_PACKAGE_LIBRETRO_FBALPHA
# ./scripts/linux/empack.py --system neogeocd --extension '.cue .CUE' --fullname 'Neo-Geo CD' --platform neogeocd --theme neogeocd libretro:fbneo:BR2_PACKAGE_LIBRETRO_FBNEO
# [ -extra \"--subsystem neocd\"] added manually afterwards on line 27
# Name the 3 vars as the package requires
......@@ -22,18 +22,18 @@ SOURCE_ROMDIR_NEOGEOCD = $(RECALBOX_ROMFS_NEOGEOCD_PKGDIR)/roms
# variables are global across buildroot
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
define CONFIGURE_MAIN_NEOGEOCD_START
$(call RECALBOX_ROMFS_CALL_ADD_SYSTEM,$(SYSTEM_XML_NEOGEOCD),Neo-Geo CD,$(SYSTEM_NAME_NEOGEOCD),.cue .CUE,neogeocd,neogeocd, -extra \"--subsystem neocd\")
endef
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
define CONFIGURE_NEOGEOCD_LIBRETRO_START
$(call RECALBOX_ROMFS_CALL_START_EMULATOR,$(SYSTEM_XML_NEOGEOCD),libretro)
endef
ifeq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),y)
define CONFIGURE_NEOGEOCD_LIBRETRO_FBALPHA_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_NEOGEOCD),fbalpha)
ifeq ($(BR2_PACKAGE_LIBRETRO_FBNEO),y)
define CONFIGURE_NEOGEOCD_LIBRETRO_FBNEO_DEF
$(call RECALBOX_ROMFS_CALL_ADD_CORE,$(SYSTEM_XML_NEOGEOCD),fbneo)
endef
endif
......@@ -52,7 +52,7 @@ endif
define RECALBOX_ROMFS_NEOGEOCD_CONFIGURE_CMDS
$(CONFIGURE_MAIN_NEOGEOCD_START)
$(CONFIGURE_NEOGEOCD_LIBRETRO_START)
$(CONFIGURE_NEOGEOCD_LIBRETRO_FBALPHA_DEF)
$(CONFIGURE_NEOGEOCD_LIBRETRO_FBNEO_DEF)
$(CONFIGURE_NEOGEOCD_LIBRETRO_END)
$(CONFIGURE_MAIN_NEOGEOCD_END)
endef
......
......@@ -230,7 +230,7 @@ ifneq ($(BR2_PACKAGE_PIFBA),)
endif
# System: fba_libretro
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
RECALBOX_ROMFS_DEPENDENCIES += recalbox-romfs-fba_libretro
endif
......@@ -340,12 +340,12 @@ ifneq ($(BR2_PACKAGE_LIBRETRO_DESMUME)$(BR2_PACKAGE_LIBRETRO_MELONDS),)
endif
# System: neogeo
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBALPHA)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
ifneq ($(BR2_PACKAGE_LIBRETRO_MAME2003)$(BR2_PACKAGE_LIBRETRO_MAME2000)$(BR2_PACKAGE_LIBRETRO_FBNEO)$(BR2_PACKAGE_PIFBA)$(BR2_PACKAGE_LIBRETRO_MAME2010)$(BR2_PACKAGE_LIBRETRO_MAME2015)$(BR2_PACKAGE_LIBRETRO_MAME2016),)
RECALBOX_ROMFS_DEPENDENCIES += recalbox-romfs-neogeo
endif
# System: neogeocd
ifneq ($(BR2_PACKAGE_LIBRETRO_FBALPHA),)
ifneq ($(BR2_PACKAGE_LIBRETRO_FBNEO),)
RECALBOX_ROMFS_DEPENDENCIES += recalbox-romfs-neogeocd
endif
......
......@@ -272,8 +272,8 @@ n64.core=glide64mk2
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## Demo screensaver parameters
## Include or exclude a particular system from the demo screensaver
......
......@@ -315,8 +315,8 @@ nes.core=fceumm
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=fba2x
## If you set libretro as neogeo.emulator, uncomment the line below and set the retroarch core (fbalpha, mame2000)
;neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, uncomment the line below and set the retroarch core (fbneo, mame2000)
;neogeo.core=fbneo
## Demo screensaver parameters
## Include or exclude a particular system from the demo screensaver
......
......@@ -312,8 +312,8 @@ snes.core=snes9x2010
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## N64 emulator is configured to display a screen with a 640x480 resolution (native n64 resolution)
## So you must use one of these video modes (DMT 4 HDMI,CEA 1 HDMI).
......
......@@ -314,8 +314,8 @@ snes.core=snes9x2010
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## N64 emulator is configured to display a screen with a 640x480 resolution (native n64 resolution)
## So you must use one of these video modes (DMT 4 HDMI,CEA 1 HDMI).
......
......@@ -260,8 +260,8 @@ psx.core=mednafen_psx_hw
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## Demo screensaver parameters
## Include or exclude a particular system from the demo screensaver
......
......@@ -260,8 +260,8 @@ psx.core=mednafen_psx_hw
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## Wiimotes
## Real wiimotes must not be paired with recalbox system so that they can work with the wii emulator
......
......@@ -272,8 +272,8 @@ n64.core=gliden64
## NeoGeo emulator
## You can use pifba or a libretro core (fba2x,libretro)
neogeo.emulator=libretro
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbalpha, mame2000)
neogeo.core=fbalpha
## If you set libretro as neogeo.emulator, the line below sets the retroarch core (fbneo, mame2000)
neogeo.core=fbneo
## Demo screensaver parameters
## Include or exclude a particular system from the demo screensaver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment