libretro / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
38 stars 60 forks source link

Libretro VFS support #173

Closed inactive123 closed 2 years ago

inactive123 commented 2 years ago

Hi @irixxxx ,

to what extent does this core use straight stdio file I/O functions like fread, fopen, fwrite, etc?

For Xbox / UWP and Android (now that we are moving to Storage Access Framework), it becomes imperative that straight stdio file I/O access gets wrapped. It's recommended to use the libretro VFS for this.

Could you possibly take a look at this? It could help solve many problems on these systems.

irixxxx commented 2 years ago

I think vfs support is already in place before we merged. I can check if stdio is still used somewhere without including vfs.

irixxxx commented 2 years ago

Ouf. Quite some work, but it's basically done. No idea if everything is still in working order though. I can only test a few of them, and those are fine.