Files
psxrecomp/runtime
Alex Vanderveen 1305cefc7a netplay: stop ENABLE_NETPLAY_IF_PRESENT from failing silently
The argument cannot turn netplay on by itself, and said nothing when it
did not. By the time psxrecomp_add_game_runtime() reads it, runtime.cmake
has already been included, and that include both resolved recomp-net and
decided whether the netplay TUs compile for real or as stubs. The
option(PSX_NETPLAY ... OFF) near the top has also already made the
`if(NOT DEFINED PSX_NETPLAY)` below it false, so the assignment it guards
never runs on a configured tree.

The switch that works is the pre-include block the scaffold emits above
the include(). Warn when the flag is passed but netplay is still off, and
name that block -- separately reporting the case where recomp-net simply
is not checked out, since the fix there is a submodule init rather than a
CMake edit.

No behaviour change beyond the diagnostic: the flag was already inert.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016k5TMHeJ2xbzjKdP4H19vY
2026-09-02 01:59:35 -04:00
..
2026-08-15 14:46:26 -07:00
2026-08-13 10:37:18 -04:00
2026-07-29 03:18:10 -04:00