mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-08 07:14:31 +00:00
GPU: Fix OSD reporting of non-interleaved interlaced resolution
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user