libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.7k stars 288 forks source link

flycast: Enable RPi5 #1941

Closed ShigeakiAsai closed 3 months ago

ShigeakiAsai commented 3 months ago

This pull request enables flycast core on RPi5

It works by following 2 changing.


modified : 1 files , added : 1 file

  1. packages/lakka/libretro_cores/flycast/package.mk Enable GLES3 on RPi5.

  2. projects/RPi/devices/RPi5/patches/flycast/0001-define-pagesize.patch In Case of RPi5, it changes "PAGE_SIZE" value from 4096 to 16384. This modification is for flycast GitHub issue #1288. And, it also has relationship flycast GitHub commit "linux: retrieve page size at build time". In this commit, "Will not work if cross-compiling however" is written. If the cross-compiling issue will be fixed in upstream, this patch file may be unnecessary.


Confirmation


P.S. @gouchi Thank you for your advice!

Thanks. ASAI, Shigeaki

ShigeakiAsai commented 3 months ago

I confirmed that flycast core is working on RPI5 with Lakka-RPi5.aarch64-devbuild-v5.x-20240312-4eb7275.img.gz

Thanks ASAI, Shigeaki