Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
Using a Raspberry Pi 5, running Bookworm 64bit lite
lr-flycast, after succesfully compiling via retropie-setup, does not launch due to this bug https://github.com/raspberrypi/bookworm-feedback/issues/107 , in short the pages being 4KB means the 16KB cannot be run on Linux Arm64 for Pi 5. A check for Pi 5 in flycast and then changing the virtual pages to 16KB would perhaps fix this.
The bug was fixed in flyinghead's flycast (lr-flycast-dev) with an amendment to the pagesize defined in stdclass.h, as described in this completed issue report : https://github.com/flyinghead/flycast/issues/1288
I tested the same change in my own fork of lr-flycast and this allowed lr-flycast to launch on the 64-bit Pi5 system. I also tested the same on my 32bit Pi4 and the change appeared to have no detrimental there. However, I am not sufficiently knowledgeable to categorically say without any doubt that this is the correct solution for this version of flycast, hence presenting this possible solution as an "issue" submission rather than a PR.
Using a Raspberry Pi 5, running Bookworm 64bit lite
lr-flycast, after succesfully compiling via retropie-setup, does not launch due to this bug https://github.com/raspberrypi/bookworm-feedback/issues/107 , in short the pages being 4KB means the 16KB cannot be run on Linux Arm64 for Pi 5. A check for Pi 5 in flycast and then changing the virtual pages to 16KB would perhaps fix this.
The bug was fixed in flyinghead's flycast (lr-flycast-dev) with an amendment to the pagesize defined in stdclass.h, as described in this completed issue report : https://github.com/flyinghead/flycast/issues/1288
I tested the same change in my own fork of lr-flycast and this allowed lr-flycast to launch on the 64-bit Pi5 system. I also tested the same on my 32bit Pi4 and the change appeared to have no detrimental there. However, I am not sufficiently knowledgeable to categorically say without any doubt that this is the correct solution for this version of flycast, hence presenting this possible solution as an "issue" submission rather than a PR.