bsnes-hd - Add libretro core for handheld and RK3588 systems

This commit is contained in:
daedalia 2023-02-21 20:24:43 +00:00
parent 4dd25ece81
commit 96a94c1408
6 changed files with 2434 additions and 0 deletions

View file

@ -0,0 +1,25 @@
PKG_NAME="bsnes-hd"
PKG_VERSION="04821703aefdc909a4fd66d168433fcac06c2ba7"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/DerKoun/bsnes-hd"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="libretro"
PKG_SHORTDESC="bsnes-hd is a fork of bsnes that adds HD video features such as widescreen, HD Mode 7 and true color"
PKG_IS_ADDON="no"
PKG_TOOLCHAIN="make"
PKG_AUTORECONF="no"
PKG_MAKE_OPTS_TARGET+=" -C bsnes target=libretro compiler=${TARGET_NAME}-g++"
makeinstall_target() {
case ${ARCH} in
aarch64|arm)
wget https://raw.githubusercontent.com/libretro/libretro-super/master/retrolink.sh && chmod +x retrolink.sh && ./retrolink.sh bsnes/out/bsnes_hd_beta_libretro.so
;;
esac
mkdir -p $INSTALL/usr/lib/libretro
cp bsnes/out/bsnes_hd_beta_libretro.so $INSTALL/usr/lib/libretro/
}

View file

@ -271,6 +271,7 @@
<core name="atari800" features="netplay, rewind, autosave" />
<core name="bluemsx" features="netplay, rewind, autosave, cheevos" />
<core name="bsnes" features="autosave" />
<core name="bsnes_hd_beta" features="autosave" />
<core name="bsnes_mercury_performance" features=" autosave" />
<core name="cannonball" features="netplay, rewind, autosave" />
<core name="cap32" features="netplay, rewind, autosave" />

View file

@ -2022,6 +2022,7 @@
<core>beetle_supafaust</core>
<core>bsnes</core>
<core>bsnes_mercury_performance</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>
@ -2045,6 +2046,7 @@
<core>snes9x2002</core>
<core>snes9x2005_plus</core>
<core>beetle_supafaust</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>
@ -2068,6 +2070,7 @@
<core>snes9x2002</core>
<core>snes9x2005_plus</core>
<core>beetle_supafaust</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>

File diff suppressed because it is too large Load diff

View file

@ -1885,6 +1885,7 @@
<core>beetle_supafaust</core>
<core>bsnes</core>
<core>bsnes_mercury_performance</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>
@ -1908,6 +1909,7 @@
<core>snes9x2002</core>
<core>snes9x2005_plus</core>
<core>beetle_supafaust</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>
@ -1931,6 +1933,7 @@
<core>snes9x2002</core>
<core>snes9x2005_plus</core>
<core>beetle_supafaust</core>
<core>bsnes_hd_beta</core>
</cores>
</emulator>
</emulators>

View file

@ -31,9 +31,11 @@ case "${DEVICE}" in
handheld)
PKG_DEPENDS_TARGET+=" dolphin dolphinsa cemu citra citrasa desmume lrps2 mame melondssa minivmac minivmacsa \
pcsx2sa play primehack rpcs3sa xemu yuzusa"
LIBRETRO_CORES+=" bsnes-hd"
;;
RK3588)
PKG_DEPENDS_TARGET+=" dolphin dolphinsa aethersx2 mame pcsx_rearmed"
LIBRETRO_CORES+=" bsnes-hd"
;;
RK3566)
PKG_DEPENDS_TARGET+=" common-shaders glsl-shaders pcsx_rearmed"