mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
When a title has configured 119.88 Hz output (mode 15) and the window moves to a display below 120 Hz, the presenter fell back to std::terminate via a require() call. Replace the abort with a graceful fallback: reset outputMode to mode 1 (59.94 Hz), fire the output-mode event so the title is notified, and continue presenting. This matches the HDMI output mode renegotiation a real display change requires: the system falls back to a compatible mode and notifies the title, rather than terminating the process. After the fallback: - sceVideoOutGetOutputStatus reports refreshRate 3 (59.94 Hz) - sceVideoOutGetResolutionStatus reports refreshRate 3 - vblanks run at 59.94 Hz (every-other-tick skip resumes) - sceVideoOutIsOutputSupported(mode=15) returns the unsupported error - sceVideoOutConfigureOutput(mode=15) succeeds again once the window is on a 120 Hz display The console's exact behaviour when a 120 Hz display is lost has not been measured; this fallback is recorded as unverified in the debt file. Fixes #7877