From 93abf66240db19eced42d4c40c7d697f2442488b Mon Sep 17 00:00:00 2001 From: sideprojectslab Date: Mon, 14 Nov 2022 20:34:53 +0100 Subject: [PATCH] GameDB: forced Alpine Racer 3 deinterlacing to Adaptive BFF when Auto --- bin/resources/GameIndex.yaml | 6 ++++++ pcsx2/GS/Renderers/Common/GSDevice.cpp | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bin/resources/GameIndex.yaml b/bin/resources/GameIndex.yaml index 6d58e4b2f4..ec36dd0de9 100644 --- a/bin/resources/GameIndex.yaml +++ b/bin/resources/GameIndex.yaml @@ -3030,6 +3030,8 @@ SCES-50887: name: "Alpine Racer 3" region: "PAL-M5" compat: 5 + gsHWFixes: + deinterlace: 9 # Game requires Adaptive BFF deinterlacing when auto. SCES-50888: name: "Pac-Man World 2" region: "PAL-M5" @@ -6457,6 +6459,8 @@ SCPS-51005: SCPS-51006: name: "Alpine Racer 3" region: "NTSC-J" + gsHWFixes: + deinterlace: 9 # Game requires Adaptive BFF deinterlacing when auto. SCPS-51008: name: "Wave Rally" region: "NTSC-J" @@ -34700,6 +34704,8 @@ SLPS-20178: SLPS-20181: name: "Alpine Racer 3" region: "NTSC-J" + gsHWFixes: + deinterlace: 9 # Game requires Adaptive BFF deinterlacing when auto. SLPS-20183: name: "Motto Golful Golf" region: "NTSC-J" diff --git a/pcsx2/GS/Renderers/Common/GSDevice.cpp b/pcsx2/GS/Renderers/Common/GSDevice.cpp index 1172fe0494..14b928c08c 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.cpp +++ b/pcsx2/GS/Renderers/Common/GSDevice.cpp @@ -369,18 +369,18 @@ void GSDevice::Interlace(const GSVector2i& ds, int field, int mode, float yoffse switch (mode) { - case 0: // weave + case 0: // Weave ResizeTarget(&m_weavebob, ds.x, ds.y); DoInterlace(m_merge, m_weavebob, 0, false, offset, field); m_current = m_weavebob; break; - case 1: // bob + case 1: // Bob // Field is reversed here as we are countering the bounce. ResizeTarget(&m_weavebob, ds.x, ds.y); DoInterlace(m_merge, m_weavebob, 1, true, yoffset * (1 - field), 0); m_current = m_weavebob; break; - case 2: //Blend + case 2: // Blend ResizeTarget(&m_weavebob, ds.x, ds.y); DoInterlace(m_merge, m_weavebob, 0, false, offset, field); ResizeTarget(&m_blend, ds.x, ds.y);