mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
tools/build-flycast.sh builds Flycast's libretro core from my fork ../PS5_Flycast (b95c532f: upstream flyinghead/flycast 59ed35a7e plus five commits) through tools/core-fork.sh, like the other forked cores: - the PS5 libretro build: no --no-undefined, 16 KiB pages; - the SH-4, ARM7 and AICA DSP recompilers' code in the console's executable memory (ps5_exec_allocate, near the core's code); - anisotropic filtering takes the level chosen, not its index (upstream bug: "16" gave 4x, the default "4" gave 2x); - PS5 defaults: 2880x2160, per-pixel transparency, 16x filtering; the widescreen hack stays off; - no locale switching and no serial pseudo-terminal: the console exports neither uselocale/newlocale nor grantpt/unlockpt/ptsname, which the title's link refused. The port began as rpf16rj's (pull request 3), credited in the fork's commits; its networking (DCNet DNS and socket changes) and the ps5_dc_rumble hook, which the title does not export, are left out. tooling/flycast/ps5-toolchain.cmake is the cores' link contract with libzip's Annex K and Windows probes answered no. The notices list Flycast as GPL-2.0-or-later: its LICENSE is the GPLv2 text, and its file headers say "version 2 or any later version", none "only". README: the system, its resolution, the fork and the credit. Verified on the base PS5 (13.40): runs 210509, 210719, 211230. The core loads (core loader, Vulkan OIT renderer on RADV), Sonic Adventure (USA, Rev A) boots through the HLE BIOS, plays its film, title screen and attract demo at 2880x2160 with sound, and START reaches "Select a memory card"; RetroArch exits with 0 (evidence/flycast-sonic-adventure, pictures klog/pad-210719 and klog/pad-211230). About 60 frames a second in the demo, 30 in the film (its own rate), early stalls of 0.5-1.4 s. Gates: tools/verify.sh format, unit and evidence PASS (89 captures, 0 failed); build and integration wait for MAME's rebuild. Before a release: publish github.com/mihawk-99/PS5_Flycast, which the notices and README name.