Add libretro VFS and use VFS for windows target
authornegativeExponent <negativeExponent@users.noreply.github.com>
Wed, 21 Apr 2021 03:05:01 +0000 (11:05 +0800)
committernegativeExponent <negativeExponent@users.noreply.github.com>
Sat, 1 May 2021 20:38:43 +0000 (04:38 +0800)
commit226a5691296bfb4f22d916348821b0eed6399a89
tree78f1894b00520fa6cb7e4f6493f456b994734aa1
parent625cc17f79f3eaeada1b741974bdc608ae4d2dd2
Add libretro VFS and use VFS for windows target

- Reverts the use of fopen_utf8 from previous commit and use
  "file_stream_transforms.h" instead: \7fhttps://github.com/libretro/pcsx_rearmed/commit/270c6dd14f876b8a67929aa22abefc47f4588324#diff-2065d1414bac1198fb423574b4874d5bf92a2114a2f3e235c469d8fd6288dd10

- Enable the use of VFS for windows by default.

- compile with USE_LIBRETRO_VFS=1 to enable vfs when compiling for other
  platforms (including android if needed)
30 files changed:
Makefile
Makefile.libretro
deps/libchdr/include/libchdr/coretypes.h
frontend/libretro.c
jni/Android.mk
libpcsxcore/cdriso.c
libpcsxcore/psxmem.c
libpcsxcore/sio.c
libretro-common/compat/compat_posix_string.c [new file with mode: 0644]
libretro-common/compat/compat_strcasestr.c [new file with mode: 0644]
libretro-common/file/file_path.c [new file with mode: 0644]
libretro-common/include/compat/posix_string.h [new file with mode: 0644]
libretro-common/include/compat/strcasestr.h [new file with mode: 0644]
libretro-common/include/file/file_path.h [new file with mode: 0644]
libretro-common/include/memmap.h [new file with mode: 0644]
libretro-common/include/retro_assert.h [new file with mode: 0644]
libretro-common/include/retro_environment.h [new file with mode: 0644]
libretro-common/include/retro_miscellaneous.h [new file with mode: 0644]
libretro-common/include/streams/file_stream.h [new file with mode: 0644]
libretro-common/include/streams/file_stream_transforms.h [new file with mode: 0644]
libretro-common/include/string/stdstring.h [new file with mode: 0644]
libretro-common/include/time/rtime.h [new file with mode: 0644]
libretro-common/include/vfs/vfs.h [new file with mode: 0644]
libretro-common/include/vfs/vfs_implementation.h [new file with mode: 0644]
libretro-common/streams/file_stream.c [new file with mode: 0644]
libretro-common/streams/file_stream_transforms.c [new file with mode: 0644]
libretro-common/string/stdstring.c [new file with mode: 0644]
libretro-common/time/rtime.c [new file with mode: 0644]
libretro-common/vfs/vfs_implementation.c [new file with mode: 0644]
plugins/cdrcimg/cdrcimg.c