diff --git a/src/core/gpu.h b/src/core/gpu.h index 47242a74f..13024a26b 100644 --- a/src/core/gpu.h +++ b/src/core/gpu.h @@ -110,13 +110,13 @@ public: /// Returns true if scanout should be interlaced. ALWAYS_INLINE bool IsInterlacedDisplayEnabled() const { - return (!m_force_progressive_scan) & m_GPUSTAT.vertical_interlace; + return (!m_force_progressive_scan) && m_GPUSTAT.vertical_interlace; } /// Returns true if interlaced rendering is enabled and force progressive scan is disabled. ALWAYS_INLINE bool IsInterlacedRenderingEnabled() const { - return (!m_force_progressive_scan) & m_GPUSTAT.SkipDrawingToActiveField(); + return (!m_force_progressive_scan) && m_GPUSTAT.SkipDrawingToActiveField(); } /// Returns the number of pending GPU ticks.