libretro / snes9x2005

Snes9x 2005. Port of SNES9x 1.43 for libretro (was previously called CAT SFC).
Other
15 stars 34 forks source link

Replace direct direct file access with VFS routines #89

Closed jdgleaver closed 3 years ago

jdgleaver commented 3 years ago

As mentioned in https://github.com/libretro/RetroArch/issues/12949, all cores will need to abstain from direct file access and instead use VFS routines to ensure compatibility with Android, UWP and potentially other platforms in the future.

This PR implements this change for Snes9x2005/Plus. Note that only the PSP and Vita builds are affected, since all other platforms support content loading via a frontend memory buffer. This core was chosen just for its simplicity - I wanted an easy example to practice on before embarking on other cores :)