Skip to content

Commit

Permalink
flycast: Enable RPi5 (#1941)
Browse files Browse the repository at this point in the history
* Fix flyfast for RPi5

* Patch file name change and package.mk settings for RPi5 change
  • Loading branch information
ShigeakiAsai authored and ToKe79 committed Apr 10, 2024
1 parent 841033e commit 489d37b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lakka/libretro_cores/flycast/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
if [[ ${DEVICE} =~ ^RPi4.* ]] || [ ${DEVICE} = "RK3288" ] || [ "${DEVICE}" = "RK3399" ]; then
if [[ ${DEVICE} =~ ^RPi[4|5].* ]] || [ ${DEVICE} = "RK3288" ] || [ "${DEVICE}" = "RK3399" ]; then
# enable GLES3
PKG_CMAKE_OPTS_TARGET+=" -DUSE_GLES=ON"
else
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/core/stdclass.h b/core/stdclass.h
index d67901efe..12cbb7ed3 100644
--- a/core/stdclass.h
+++ b/core/stdclass.h
@@ -16,7 +16,7 @@
#elif defined(__APPLE__) && defined(__aarch64__)
#define PAGE_SIZE 16384
#else
-#define PAGE_SIZE 4096
+#define PAGE_SIZE 16384
#endif
#ifndef PAGE_MASK
#define PAGE_MASK (PAGE_SIZE-1)

0 comments on commit 489d37b

Please # to comment.