32 Commits
Author SHA1 Message Date
LibretroAdmin ef6e003b2b Every platform build has the built-in Zstandard codec
The configure builds, Android, Apple, UWP and webOS were on the
built-in codec, HAVE_RZSTD; nobody set HAVE_ZSTD, the reference
library, any more; and the console and handheld makefiles - 3DS,
PSP, PS2, Wii U, GameCube, Wii, Vita, Switch, Orbis, Emscripten, DOS,
the Dingux family, the Pandora, the Win32 griffin build - had
neither, so .zst archives, Zstandard CHD hunks, RVZ hashing and
compressed input replays were absent there. HAVE_RZSTD everywhere:
one C file with no dependency, compiled into griffin builds through
griffin.c and into the others through Makefile.common.
2026-09-09 10:55:24 +02:00
libretroadmin f10a818b2b Fix the fallout from removing the vendored zlib
ZLIB_LIBS is never assigned anywhere, so every makefile target that set
HAVE_ZLIB=1 compiled trans_stream_zlib.c and archive_file_zlib.c against
<zlib.h> and then failed to link -- there is no longer a vendored
implementation behind them. psl1ght hit this first; MSVC hit the
compile-side variant once the compat/zlib headers went away.

Take HAVE_ZLIB out of every platform. RetroArch decodes PNG with rpng,
so the -lpng that pulled zlib in on vita and wiiu was only ever a
convenience for statically linked cores, and android's -lz went with it.
No target enables zlib by default any more: trans_stream_zlib.c is now
reachable only through the explicit HAVE_ZLIB=1 opt-in in
Makefile.common and its matching guard in griffin.

psl1ght additionally drops freetype for stb font: libfreetype pulls
inflate/inflateEnd in through ftgzip, which is the same undefined
reference by another route.

Also repair damage from the earlier -I removal, which deleted the last
entry of several line-continued lists and left the preceding line with a
trailing backslash: vita and ctr swallowed the following 'else' (vita
lost main() entirely), orbis ended up with a literal '\' argument, and
psp1 and griffin were left with an empty continuation and a bare
'CFLAGS +='.

The database sample never built archive_file_7z's strldup dependency;
add compat_strldup.c. test_rpng and the json sample both compiled
trans_stream_zlib.c without a zlib to link against; point them at the
built-in DEFLATE backend instead.
2026-07-24 10:37:24 +02:00
LibretroAdmin c18bd6466a build: enable the DDS (RDDS) image loader on all RWEBP platforms
The DDS loader landed with only the core wiring (Makefile.common,
griffin, qb).  Enable it everywhere the WebP loader (HAVE_RWEBP) is
enabled, so DDS decodes on every target rather than only default builds.

  - platform Makefiles: mirror every HAVE_RWEBP toggle and inline
    -DHAVE_RWEBP with HAVE_RDDS (ctr, dingux, dos, emscripten, griffin,
    lfx000, libnx, miyoo, ngc, openpandora, orbis, ps2, psl1ght, psp1,
    retrofw, rg350, rg350_odbeta, rs90, switch, vita, webos, wii, wiiu,
    msvc).
  - MSVC .vcxproj (2010-2022, 360, UWP) and the Android NativeActivity
    project: add the HAVE_RDDS preprocessor define next to HAVE_RWEBP.
  - Apple .xcodeproj (OSX107, PPC, iOS6-11 incl. Metal/static): add
    -DHAVE_RDDS to OTHER_CFLAGS next to -DHAVE_RWEBP.
  - pkg/android Android.mk: add -DHAVE_RDDS.
  - feature reporting: SUPPORTS_RDDS (config.features.h), the retroarch
    --features string, the menu Core Information image-format list, and
    the imageviewer core extension list (adds |dds).

All these targets build the image loaders through the griffin unity TU,
which already includes rdds.c under HAVE_RDDS, so defining the flag is
sufficient to compile and enable the loader.
2026-07-04 23:17:55 +02:00
LibretroAdmin 74ea2f1008 (build) Enable HAVE_RWEBP on all platforms
The WebP decoder was only enabled through the qb configure default, so
platforms with static build files never compiled it. Wire HAVE_RWEBP
everywhere HAVE_RPNG is wired, following each file's existing style:

- Variable assignments (routed through Makefile.common's define/object
  block or Makefile.griffin's CFLAGS emit): dingux, dos, emscripten,
  lfx000, libnx, miyoo, msvc, ngc, retrofw, rg350, rg350_odbeta, rs90,
  webos, wii, and every per-platform block in Makefile.griffin, which
  also gains the matching CFLAGS emit.
- Platforms with both a griffin branch (inline -D defines) and a
  default Makefile.common branch (variable assignments) get both:
  ps2, ctr, switch, orbis, wiiu.
- Continuation-style define lists: psl1ght, psp1, vita, openpandora,
  and the Android NDK build.
- MSVC project files (griffin-based, PreprocessorDefinitions):
  msvc-2010 through msvc-2022, UWP, Xbox 360, and the legacy Android
  NativeActivity project.
- Xcode projects (griffin-based, -D flag lists): all eleven, including
  the PPC and legacy iOS projects.

The decoder itself is C89-clean scalar C on platforms without SSE2 or
NEON (the SIMD paths are compile-time gated), so no platform needs
anything beyond the define. The salamander Makefiles are deliberately
left alone: the loaders do not decode images beyond their existing
boot path. Console targets are not buildable in this environment; the
edits mechanically mirror the existing HAVE_RPNG wiring in each file,
and the Makefile.common route they rely on is the same one exercised
by the regular Linux build.
2026-07-03 13:21:30 +02:00
libretroadmin 51d238875e Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
twinaphex 28cac5c5a4 Add HAVE_CORE_INFO_CACHE - disable this for Steam build 2021-10-14 15:57:28 +02:00
twinaphex 47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex 3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex 87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex b77dd9cfe4 Add HAVE_PATCH ifdef; add patch switch support to qb 2020-06-30 15:54:31 +02:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
orbea 84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00
Huw Pascoe 7e0592198d video_layout build 2019-05-11 09:58:46 +01:00
twinaphex a74ef2214d Start removing SINC ifdefs for individual Makefiles 2017-12-31 21:34:31 +01:00
Alcaro 5f6b79e7f4 Merge version.h, dist-cores.sh and version.all 2017-09-26 01:05:43 +02:00
twinaphex 5a7a54d10c Add Makefile.version 2017-09-26 00:39:29 +02:00
twinaphex 73e00e021a Bump up version to 1.6.7 2017-08-17 21:09:42 +02:00
twinaphex 47cf178309 Bump up version to 1.6.6 2017-08-16 23:59:15 +02:00
twinaphex 0e3ff650c2 Remove WANT_RPNG 2016-05-17 13:41:40 +02:00
twinaphex 25ec6a8872 Add HAVE_JPEG to project files 2016-05-17 13:39:06 +02:00
twinaphex 65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
twinaphex 2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex 7f1c4fa2ff Rename sinc_neon.S to sinc_resampler_neon.S 2016-03-14 15:49:02 +01:00
twinaphex 4d13e9d4cb Turn WANT_MINIZ into WANT_ZLIB 2015-03-14 05:24:57 +01:00
twinaphex 2679c3d5c2 Rename audio/utils.c to audio/audio_utils.c 2015-01-13 00:19:46 +01:00
twinaphex 598421e7d7 Move resampler drivers to audio/resamplers 2014-09-09 21:54:41 +02:00
twinaphex fbb0b57cae Use __ARM_NEON__ define instead of HAVE_NEON 2014-07-26 20:18:37 +02:00
twinaphex 38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
twinaphex 0e1a306862 (Pandora) Set default input driver for OpenPandora 2013-07-07 20:05:03 +02:00
twinaphex eb2d294c32 (OpenPandora Makefile) Use rpath for LDFLAGS 2013-07-07 19:46:13 +02:00
twinaphex cf24c442df Update maintenance - define/update PACKAGE_VERSION only once
in general.h
2013-07-07 19:43:22 +02:00
twinaphex 75cce7fb4d (Pandora) Add static preliminary Makefile for Pandora
(Alsathread) Name functions uniquely vs. alsa to resolve
symbol namespace conflicts when compiling with Griffin
2013-07-07 19:22:54 +02:00