TsundereStation/dep/libchdr/include
libretroadmin db6941773a Route all file I/O through libretro VFS; remove non-VFS codepaths
byte_stream: rebuild FileByteStream on RFILE* + the libretro-common rf*
shim (rfread/rfwrite/rfseek/rftell/filestream_flush/filestream_error/
rfclose) instead of FILE*. This collapses the Win32/POSIX _fseeki64 vs
fseeko #if seek branches into one portable 64-bit path. ByteStream_OpenFileStream
is reduced from two platform-specific implementations (Win32 CreateFileW/
_open_osfhandle/_fdopen + POSIX mkstemp/fdopen) to a single VFS factory using
rfopen(); the atomic-update path opens its temp file via VFS and keeps the
rename()/remove() commit/discard logic (filesystem ops, not file I/O). Drop the
now-unused Win32 io.h/share.h/direct.h and encodings/utf.h includes.

file_system: remove FileSystem::OpenCFile() entirely -- it was a raw
fopen/_wfopen path whose only caller (byte_stream) now uses VFS, leaving it
dead.

gl/program: write the bad_shader_*.txt compile-failure dump through a VFS
ByteStream instead of std::ofstream. system: drop an unused <fstream> include.

libchdr: convert the core_stdio_* backend to filestream_* (drop the
USE_LIBRETRO_VFS toggle and the fseeko64/_fseeki64 macro ladder); core_file
argp is an RFILE*, and chd_open_file()/chd_read_header_file() take RFILE*.
coretypes.h includes <streams/file_stream.h> unconditionally. (miniz stays --
it is the active zlib backend here since CHDR_SYSTEM_ZLIB is unset.)

dr_flac: remove every DR_FLAC_NO_STDIO-gated stdio path (open_file/_w,
with_metadata/_w, open_file_and_read_pcm_frames_*, the stdio read/seek/tell
callbacks, and the stdio/Ogg-file close handling) and delete the
DR_FLAC_NO_STDIO macro; the decoder is callback/memory-only by default.
2026-06-25 14:55:50 +02:00
..
dr_libs Route all file I/O through libretro VFS; remove non-VFS codepaths 2026-06-25 14:55:50 +02:00
libchdr Route all file I/O through libretro VFS; remove non-VFS codepaths 2026-06-25 14:55:50 +02:00