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. |
||
|---|---|---|
| .. | ||
| bitstream.h | ||
| cdrom.h | ||
| chd.h | ||
| chdconfig.h | ||
| codec_cdfl.h | ||
| codec_cdlz.h | ||
| codec_cdzl.h | ||
| codec_cdzs.h | ||
| codec_flac.h | ||
| codec_huff.h | ||
| codec_lzma.h | ||
| codec_zlib.h | ||
| codec_zstd.h | ||
| coretypes.h | ||
| flac.h | ||
| huffman.h | ||
| macros.h | ||