mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
b541d1e2d3
When using an interlaced/doublescan mode, the vertical refresh rate is mis-calculated. Replaced the current calc method with the one from libdrm's 'modetest' utility [1]. [1] https://gitlab.freedesktop.org/mesa/drm/-/blob/main/tests/modetest/modetest.c?ref_type=heads#L140