TsundereStation/dep
libretroadmin 32e5654cb4 stb/miniz: drop stdio paths, leave VFS/memory-only code
stb_image: STBI_NO_STDIO was never defined, and Common::LoadImageFromFile
passed an RFILE* into stbi_load_from_file()'s FILE* parameter -- it only
worked because stb_image.c compiles against real <stdio.h> and the pointer
was treated opaquely. Fix the caller to read the file via
FileSystem::ReadBinaryFile() and decode with stbi_load_from_memory(), then
make no-stdio the only path in stb_image.h: remove every #ifndef
STBI_NO_STDIO block (the <stdio.h> include, stbi__fopen/stbi__stdio_* read
callbacks, stbi__start_file, and the stbi_load/loadf/info/is_hdr/is_16_bit
_from_file + _from filename entry points) and the toggle itself. The decoder
is now memory/callback-only.

miniz: the libretro build compiles miniz.c directly (not via unity.c), so
the MINIZ_NO_* defines unity.c sets were never applied and miniz built with
its archive/deflate/stdio/time code active despite libchdr only using the
inflate (tinfl / zlib-compat) API. Activate MINIZ_NO_STDIO, MINIZ_NO_TIME,
MINIZ_NO_DEFLATE_APIS and MINIZ_NO_ARCHIVE_APIS in miniz.h so those paths
(including all MZ_FOPEN/stdio file I/O) compile out by default; inflate and
the zlib-compatible names libchdr needs are retained.
2026-06-25 14:59:59 +02:00
..
glad Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
libchdr stb/miniz: drop stdio paths, leave VFS/memory-only code 2026-06-25 14:59:59 +02:00
libretro-common Add missing file 2024-05-19 21:04:44 +02:00
openbios Make OpenBIOS a built-in fallback. 2026-03-28 10:43:30 +00:00
stb stb/miniz: drop stdio paths, leave VFS/memory-only code 2026-06-25 14:59:59 +02:00
vixl Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
vulkan-loader GPU/Vulkan: Add complete VK_EXT_debug_utils API entry points 2021-08-01 10:56:56 -07:00
xbyak Remove some unused xbyak code 2022-09-12 20:12:20 +02:00
xxhash Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
CMakeLists.txt dep, common/vulkan, core, build: remove dep/glslang and the Vulkan ShaderCompiler infrastructure 2026-05-18 02:21:53 +02:00