GPU: Fix OSD reporting of non-interleaved interlaced resolution

This commit is contained in:
Stenzek
2025-11-05 16:04:02 +10:00
parent dd0c7ec9fe
commit 8b217b5cc1

View File

@@ -162,7 +162,7 @@ std::tuple<u32, u32> GPU::GetFullDisplayResolution() const
height =
static_cast<u32>(std::max<s32>(
std::clamp<s32>(m_crtc_state.regs.Y2, ymin, ymax) - std::clamp<s32>(m_crtc_state.regs.Y1, ymin, ymax), 0))
<< BoolToUInt8(m_GPUSTAT.vertical_interlace && m_GPUSTAT.vertical_resolution);
<< BoolToUInt8(IsInterlacedDisplayEnabled());
}
return std::tie(width, height);