mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
GPU/HW: Fix height incorrect doubling in interleaved 480i mode
This commit is contained in:
parent
c09e9edc4a
commit
e54ad1956a
|
@ -3106,7 +3106,7 @@ void GPU_HW::UpdateDisplay()
|
||||||
const u32 scaled_display_width = m_crtc_state.display_vram_width * resolution_scale;
|
const u32 scaled_display_width = m_crtc_state.display_vram_width * resolution_scale;
|
||||||
const u32 scaled_display_height = m_crtc_state.display_vram_height * resolution_scale;
|
const u32 scaled_display_height = m_crtc_state.display_vram_height * resolution_scale;
|
||||||
const u32 read_height = interlaced ? (scaled_display_height / 2u) : scaled_display_height;
|
const u32 read_height = interlaced ? (scaled_display_height / 2u) : scaled_display_height;
|
||||||
const u32 line_skip = m_GPUSTAT.vertical_resolution;
|
const u32 line_skip = BoolToUInt32(interlaced && m_GPUSTAT.vertical_resolution);
|
||||||
bool drew_anything = false;
|
bool drew_anything = false;
|
||||||
|
|
||||||
if (IsDisplayDisabled())
|
if (IsDisplayDisabled())
|
||||||
|
|
Loading…
Reference in a new issue