The core is lacking proper large file support.
This can lead to crash in some case, by example for me on rclone mount points.
In the scummvm file browser (add game) - rclone mount points where not browsable, still those mount points were from the RetroArch front end.
When starting scummvm games from the frontend then scummvm lead to RA crash.
I tracked and fixed the crash for myself (libreelec / rpi3), So I did not pushed a pull review as it need proper support for all systems.
What I done to fix it for me is to add this define:
The core is lacking proper large file support. This can lead to crash in some case, by example for me on rclone mount points. In the scummvm file browser (add game) - rclone mount points where not browsable, still those mount points were from the RetroArch front end. When starting scummvm games from the frontend then scummvm lead to RA crash. I tracked and fixed the crash for myself (libreelec / rpi3), So I did not pushed a pull review as it need proper support for all systems.
What I done to fix it for me is to add this define:
DEFINES += -D_FILE_OFFSET_BITS=64
Both in Makefile and Makefile.common.