summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-03-10 19:01:57 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-10 19:02:43 -0500
commitde01a790e17ebfc3ba7a02beb26ee4f12b01705a (patch)
treefae736dde356a73725b6455e8bfd9ec95b18cf5a /Source
parent5ed8b7bc9d8f70d5dae4f009939ac9715adf83b4 (diff)
VideoConfig: Eliminate bForceProgressive.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/VideoInterface.cpp3
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp1
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h1
3 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Core/HW/VideoInterface.cpp b/Source/Core/Core/HW/VideoInterface.cpp
index 2f41c1b1e5..bfd9b872c1 100644
--- a/Source/Core/Core/HW/VideoInterface.cpp
+++ b/Source/Core/Core/HW/VideoInterface.cpp
@@ -783,7 +783,8 @@ void VideoInterfaceManager::OutputField(FieldType field, u64 ticks)
// Multiply the stride by 2 to get the byte offset for each subsequent line.
fbStride *= 2;
- if (potentially_interlaced_xfb && interlaced_video_mode && g_ActiveConfig.bForceProgressive)
+ if (potentially_interlaced_xfb && interlaced_video_mode &&
+ Config::Get(Config::GFX_HACK_FORCE_PROGRESSIVE))
{
// Strictly speaking, in interlaced mode, we're only supposed to read
// half of the lines of the XFB, and use that to display a field; the
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 0dec193b7a..3f3206b308 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -179,7 +179,6 @@ void VideoConfig::Refresh()
bEFBAccessEnable = Config::Get(Config::GFX_HACK_EFB_ACCESS_ENABLE);
bEFBAccessDeferInvalidation = Config::Get(Config::GFX_HACK_EFB_DEFER_INVALIDATION);
bBBoxEnable = Config::Get(Config::GFX_HACK_BBOX_ENABLE);
- bForceProgressive = Config::Get(Config::GFX_HACK_FORCE_PROGRESSIVE);
bSkipEFBCopyToRam = Config::Get(Config::GFX_HACK_SKIP_EFB_COPY_TO_RAM);
bSkipXFBCopyToRam = Config::Get(Config::GFX_HACK_SKIP_XFB_COPY_TO_RAM);
bDisableCopyToVRAM = Config::Get(Config::GFX_HACK_DISABLE_COPY_TO_VRAM);
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index 9e7bf950a2..a5e6e24f64 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -281,7 +281,6 @@ struct VideoConfig final
bool bEFBAccessDeferInvalidation = false;
bool bPerfQueriesEnable = false;
bool bBBoxEnable = false;
- bool bForceProgressive = false;
bool bCPUCull = false;
bool bEFBEmulateFormatChanges = false;