mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 19:07:47 -04:00
1305cefc7a
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