mirror of
https://github.com/libretro/Libretro-Supermodel.git
synced 2026-11-09 17:25:52 -10:00
(cherry picked from commit d918d05c52)
Remove dead Libretro code and unused declarations, fix initializer and
option terminator warnings, and keep warning suppressions scoped to
vendored/generated sources. Preserve the official engine by excluding
the unrelated historical Z80 CTC behavior change.
Adapted on dev: the conflicts in LibretroWrapper.cpp were resolved
keeping dev's save state version 6 and its audio pacing (one 57.53 Hz
frame of audio per retro_run); the unused NVRAM_FILE_VERSION is
dropped with the old .nv functions that used it. GetKeyName() keeps
dev's real implementation from the keyboard fix. CRLF line endings of
LibretroWrapper.cpp are preserved.
Tested: full clean Linux build goes from 636 to 209 warnings; Windows
(MinGW) and macOS (osxcross) builds succeed. Virtua Fighter 3, Scud
Race, The Lost World and Star Wars Trilogy run with the timing overlay.