GPU/HW: Fix height incorrect doubling in interleaved 480i mode

This commit is contained in:
Stenzek 2024-03-29 12:17:13 +10:00
parent c09e9edc4a
commit e54ad1956a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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())