summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2024-01-31 09:57:17 -0500
committerGitHub <noreply@github.com>2024-01-31 09:57:17 -0500
commit30fdf25f8f3a2fd217c8c39eb3abb5b55f63b510 (patch)
treebdf413f54fe46fc1c0a2ed168beac8b6fa84f51b /Source/Core/VideoCommon/VertexManagerBase.cpp
parente0828815e73faf8043da27f418f724d6b7fa9db3 (diff)
parent9a3e770c23312f61848adefc7202cb1b800cadff (diff)
Merge pull request #12542 from AdmiralCurtiss/system-sconfig
Migrate m_is_mios and bWii from SConfig to System.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp
index 92ff2a861f..1309ea4a47 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/VertexManagerBase.cpp
@@ -14,7 +14,6 @@
#include "Common/MathUtil.h"
#include "Common/SmallVector.h"
-#include "Core/ConfigManager.h"
#include "Core/DolphinAnalytics.h"
#include "Core/HW/SystemTimers.h"
#include "Core/System.h"
@@ -511,7 +510,8 @@ void VertexManagerBase::Flush()
#endif
// Track some stats used elsewhere by the anamorphic widescreen heuristic.
- if (!SConfig::GetInstance().bWii)
+ auto& system = Core::System::GetInstance();
+ if (!system.IsWii())
{
const bool is_perspective = xfmem.projection.type == ProjectionType::Perspective;
@@ -538,7 +538,6 @@ void VertexManagerBase::Flush()
}
}
- auto& system = Core::System::GetInstance();
auto& pixel_shader_manager = system.GetPixelShaderManager();
auto& geometry_shader_manager = system.GetGeometryShaderManager();
auto& vertex_shader_manager = system.GetVertexShaderManager();