mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
2ddb2e0ec4
psxrecomp_add_game_runtime gains a PGXP option and forwards it to psxrecomp_add_runtime_target, which already supports a PGXP primary (-DPSX_PGXP=1, overlay flavor 2, published flavor file, no _pgxp suffix and no clone). Until now a title could only get the hook flavor through PSX_PGXP_VARIANT's side-by-side clone, or by leaving a bare PGXP in the forwarded tail, where an earlier multi-value argument such as CODEGEN_SETUP_SOURCES or GEN_FULL_GLOB swallowed it as a file name. The generated C already carries the PGXP_*() hook sites, so a title's committed generated/ does not change. Default unchanged: titles that do not pass PGXP build the base flavor as before. game_runtime_pgxp_test runs the real function body under cmake -P with the runtime target stubbed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>