From 1d5af57f71fcbc65fc4553d199986014e5d23280 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 19 Sep 2020 21:15:53 +1000 Subject: [PATCH] GPU: Halve draw ticks for 480i even with force progressive Fixes some of the games broken with the enhancement on. --- src/core/gpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/gpu.h b/src/core/gpu.h index b91981071..54078114b 100644 --- a/src/core/gpu.h +++ b/src/core/gpu.h @@ -445,7 +445,7 @@ protected: ticks_per_row += average_width; if (semitransparent || m_GPUSTAT.check_mask_before_draw) ticks_per_row += (average_width + 1u) / 2u; - if (IsInterlacedRenderingEnabled()) + if (m_GPUSTAT.SkipDrawingToActiveField()) height = std::max(height / 2, 1u); AddCommandTicks(ticks_per_row * height); @@ -457,14 +457,14 @@ protected: ticks_per_row += width; if (semitransparent || m_GPUSTAT.check_mask_before_draw) ticks_per_row += (width + 1u) / 2u; - if (IsInterlacedRenderingEnabled()) + if (m_GPUSTAT.SkipDrawingToActiveField()) height = std::max(height / 2, 1u); AddCommandTicks(ticks_per_row * height); } ALWAYS_INLINE void AddDrawLineTicks(u32 width, u32 height, bool shaded) { - if (IsInterlacedRenderingEnabled()) + if (m_GPUSTAT.SkipDrawingToActiveField()) height = std::max(height / 2, 1u); AddCommandTicks(std::max(width, height));