mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 10:59:16 -04:00
701d33c212
internal_resolution_test covers the pure rule and video_enhancement_settings_test the game.toml parse; nothing covered the runtime between them. match_display_cap_wiring_test checks that main() copies the config value, that the launcher seed and adopt sites (both launcher paths), apply at boot and the GL context's per-monitor measurement are fed ir_display_lines(), and that the raw monitor height is read only there and for the context's log line. It then compiles ir_display_lines() against internal_resolution.h with a stub monitor: 2338 px gives 4x under a 960-line cap, 6x under 1440 and 10x uncapped, and a fixed preset never moves. Dropping the config copy or reverting any site to psx_sdl_display_pixel_height() fails it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>