libretro-mirrors / scummvm

ScummVM with libretro backend.
http://www.scummvm.org/
GNU General Public License v2.0
22 stars 30 forks source link

Large file support missing #198

Open pasnox opened 2 years ago

pasnox commented 2 years ago

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.