mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
ec7bc14ad9
A native-wide surface is g_wide_w*S wide and the driver limit bounds it (1024 native columns at 16x on a 16384 limit, about 38:9 at a 320-px display). An uncapped Fit to Window aspect could ask for more; wide_fbo_for then refused the surface and the frame fell back to a 1x CPU present with no native-wide margins. update_adaptive_widescreen now narrows the Fit aspect to the widest the surface holds (gl_renderer_fit_wide_aspect: psx_gl_max_wide_width at the context's scale, psx_gl_fit_wide_aspect at the current display width, gpu_ws_display_width). It changes nothing unless the surface would be refused. The refusal stays for a fixed aspect on a wide display mode; its comment now gives the right limit and what the frame falls back to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>