Catch up on libretro yabasanhiro core updates. (#1936)

This commit is contained in:
Yasai-san 2024-03-05 22:45:17 +09:00 committed by GitHub
parent 86649ae91f
commit 110b265f2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 27 deletions

View File

@ -1,5 +1,5 @@
PKG_NAME="yabasanshiro"
PKG_VERSION="7513c8459034a0fe415d3cae4d692a54d0f90296"
PKG_VERSION="4e65871ec0a2582fa2dbe055fccb6573dbd68d4f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/yabause"
PKG_URL="${PKG_SITE}.git"

View File

@ -1,26 +0,0 @@
diff --git a/yabause/src/libretro/Makefile b/yabause/src/libretro/Makefile
index 961154a9f..553363519 100644
--- a/yabause/src/libretro/Makefile
+++ b/yabause/src/libretro/Makefile
@@ -176,6 +176,21 @@ else ifeq ($(platform), rpi4)
DYNAREC_DEVMIYAX = 1
FLAGS += -mcpu=cortex-a72 -mtune=cortex-a72
+# Rpi5 (64-bit)
+else ifeq ($(platform), rpi5)
+ override platform += unix
+ TARGET := $(TARGET_NAME)_libretro.so
+ fpic := -fPIC
+ SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
+ LDFLAGS += -lpthread
+ FLAGS += -DAARCH64
+ ARCH_IS_LINUX = 1
+ HAVE_SSE = 0
+ FORCE_GLES = 1
+ USE_AARCH64_DRC = 1
+ DYNAREC_DEVMIYAX = 1
+ FLAGS += -mcpu=cortex-a76 -mtune=cortex-a76
+
# ODROIDs
else ifneq (,$(findstring odroid-c4,$(platform)))
override platform += unix