libretro / snes9x2010

Snes9x 2010. Port of Snes9x 1.52+ to Libretro (previously called SNES9x Next). Rewritten in C and several optimizations and speedhacks.
Other
98 stars 70 forks source link

Replace direct direct file access with VFS routines #153

Closed jdgleaver closed 2 years ago

jdgleaver commented 2 years ago

As mentioned in libretro/RetroArch#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 Snes9x2010.

In order to test this functionality, I also had to fix the loading of the BS-X Satellaview bios file (this should be placed in the frontend system directory, named either BS-X.bin or BS-X.bios)

lgtm-com[bot] commented 2 years ago

This pull request introduces 2 alerts when merging 8544a65464fed1965468307e3faa20cf041b1e01 into e3bd44a0408846635c2e9d31d6b37bf7a8236a02 - view on LGTM.com

new alerts: